예제 #1
0
        public void Clear(DeviceContext context)
        {
            Color4 clearColour = new Color4(0.2f, 0.4f, 0.6f, 0.0f);

            //Color4 clearColour = new Color4(0.0f, 0.0f, 0.0f, 0.0f);

            Primary.Clear(context, clearColour);
        }
예제 #2
0
 public void Clear(DeviceContext context)
 {
     GBuffers.Clear(context, new Color4(0.0f, 0.0f, 0.0f, 0.0f));
     SceneColour.Clear(context, new Color4(0.2f, 0.4f, 0.6f, 0.0f));
 }