com.threerings.opengl.renderer.config
Class ShaderConfig.VertexLightingSnippet
java.lang.Object
com.threerings.util.DeepObject
com.threerings.opengl.renderer.config.ShaderConfig.Definition
com.threerings.opengl.renderer.config.ShaderConfig.VertexLightingSnippet
- All Implemented Interfaces:
- Exportable, Copyable, Cloneable
- Enclosing class:
- ShaderConfig
public static class ShaderConfig.VertexLightingSnippet
- extends ShaderConfig.Definition
Defines a snippet that sets the front and/or back colors to simulate the behavior of the
fixed-function pipeline.
|
Field Summary |
String |
eyeNormal
The variable containing the normal in eye space. |
String |
eyeVertex
The variable containing the location of the vertex in eye space. |
eyeVertex
@Editable
public String eyeVertex
- The variable containing the location of the vertex in eye space.
eyeNormal
@Editable
public String eyeNormal
- The variable containing the normal in eye space.
ShaderConfig.VertexLightingSnippet
public ShaderConfig.VertexLightingSnippet()
getDefinitions
public void getDefinitions(Scope scope,
RenderState[] states,
boolean vertexProgramTwoSide,
List<String> defs)
- Description copied from class:
ShaderConfig.Definition
- Retrieves the definitions for this config and adds them to the provided list.
- Specified by:
getDefinitions in class ShaderConfig.Definition
Copyright © 2011. All Rights Reserved.