Open Dev Kit Documentation :: OpenGL :: RF Shader
OpenGL.RFShadershader program stored in an OpenGL shader
Functions
Properties
- Handle Integer
- Attributes Shader Variable Array
- Uniforms Shader Variable Array
- Attribute Position Integer
- Attribute UV0 Integer
- Attribute UV1 Integer
- Attribute Color Integer
- Attribute Specular Integer
- Attribute Normal Integer
- Attribute Tangent Integer
- Attribute Bitangent Integer
- Attribute Bone ID Integer
- Attribute Bone Weight Integer
- Uniform Texture Diffuse Integer
- Uniform Texture Normal Integer
- Uniform Texture Specular Integer
- Uniform Texture Emissive Integer
- Uniform Matrix MVP Integer
- Uniform Matrix MV Integer
- Uniform Matrix NMV Integer
- Uniform Matrix M Integer
- Uniform Matrix NV Integer
- Uniform UV Diffuse Offset Integer
- Uniform UV Diffuse Scale Integer
- Uniform UV Normal Offset Integer
- Uniform UV Normal Scale Integer
- Uniform UV Specular Offset Integer
- Uniform UV Specular Scale Integer
- Uniform UV Emissive Offset Integer
- Uniform UV Emissive Scale Integer
- Uniform Hit Color Integer
- Uniform Tint Color Integer
- Uniform Tint Specular Integer
- Uniform Ambient Integer
- Uniform Material Ambient Integer
- Uniform Material Diffuse Integer
- Uniform Material Specular Integer
- Uniform Material Emissive Integer
- Uniform Material Shininess Integer
- Uniform Bones Integer
- Uniform Heightmap Tex Integer
- sampler2D slot for the heightmap atlas canvas (GFX_HEIGHTMAP permutation)
- Uniform Heightmap Cell Rect Integer
- vec4 uniform holding the cell's UV rect inside the atlas canvas
- Uniform Heightmap Scale Integer
- float uniform: world-unit scale for [0..1] normalized heights
- Uniform Heightmap Bits Integer
- int uniform: heightmap encoding bit depth (8 or 16)
If you think anything is missing, please feel free to: submit documentation feedback on this page
