com.threerings.opengl.compositor.config
Class RenderQueueConfig.Skybox

java.lang.Object
  extended by com.threerings.util.DeepObject
      extended by com.threerings.opengl.compositor.config.RenderQueueConfig.RenderMode
          extended by com.threerings.opengl.compositor.config.RenderQueueConfig.Skybox
All Implemented Interfaces:
Exportable, Copyable, Cloneable
Enclosing class:
RenderQueueConfig

public static class RenderQueueConfig.Skybox
extends RenderQueueConfig.RenderMode

The skybox render mode: scales the field of view before rendering and clears the z buffer afterwards.


Field Summary
protected  Vector3f _onormal
          Stores the near/far clip plane normal.
 float fovScale
          The scale to apply to the field of view.
 
Constructor Summary
RenderQueueConfig.Skybox()
           
 
Method Summary
protected  void clearDepth(Renderer renderer)
          Clears the depth buffer.
 void render(GlContext ctx, RenderQueue queue)
          Renders the batches.
 
Methods inherited from class com.threerings.util.DeepObject
clone, copy, copy, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

fovScale

@Editable(min=0.0,
          step=0.01)
public float fovScale
The scale to apply to the field of view.


_onormal

protected Vector3f _onormal
Stores the near/far clip plane normal.

Constructor Detail

RenderQueueConfig.Skybox

public RenderQueueConfig.Skybox()
Method Detail

render

public void render(GlContext ctx,
                   RenderQueue queue)
Description copied from class: RenderQueueConfig.RenderMode
Renders the batches.

Overrides:
render in class RenderQueueConfig.RenderMode

clearDepth

protected void clearDepth(Renderer renderer)
Clears the depth buffer.