## RTShader_OGLCom

Type:
  Real Time Shader

Spdl File:
  %XSI_HOME%\Application\phenolib\spdl\opengl\OGLCom.spdl

Number of parameters:
  29

Number of connectable parameters:
  2

Outputs:
  1

Associated library (.dll or .so):
  OpenGL_Shaders

Entry point in library:
  RTShader_OGLCom

Parameter Name | Scriptname | Description | Valid Values | Data Type | Range | UI Range
--- | --- | --- | --- | --- | --- | ---
out | out | realtime |  | rtrendercontext |  |
OpenGL_Shaders | OpenGL_Shaders | OpenGL_Shaders |  | String |  |
RTShader_OGLCom | RTShader_OGLCom | RTShader_OGLCom |  | String |  |
previous | previous | previous |  | rtrendercontext |  |
normal | normal | Use Normal |  | Bool |  |
uv | uv | Use UVs |  | Bool |  |
vertexcolor | vertexcolor | Use Vertex Colors |  | Bool |  |
blending | blending | Use Vertex Colors |  | Bool |  |
srcblendingfunction | srcblendingfunction |  |
0 | ZERO
1 | ONE
2 | DST_COLOR
3 | ONE_MINUS_DST_COLOR
4 | SRC_ALPHA
5 | ONE_MINUS_SRC_ALPHA
6 | DST_ALPHA
7 | ONE_MINUS_DST_ALPHA
8 | SRC_ALPHA_SATURATE
| Integer | 0 - 8 |
dstblendingfunction | dstblendingfunction |  |
0 | ZERO
1 | ONE
2 | SRC_COLOR
3 | ONE_MINUS_SRC_COLOR
4 | SRC_ALPHA
5 | ONE_MINUS_SRC_ALPHA
6 | DST_ALPHA
7 | ONE_MINUS_DST_ALPHA
| Integer | 0 - 7 |
cullingmode | cullingmode |  |
0 | NONE
1 | BACK
2 | FRONT
3 | BACK_AND_FRONT
| Integer | 0 - 3 |
depthtest | depthtest | Use Depth Buffer |  | Bool |  |
Enable_Ambient | Enable_Ambient | Enable Ambient |  | Bool |  |
Ambient | Ambient | Ambient |  | Color |  |
Enable_Diffuse | Enable_Diffuse | Enable Diffuse |  | Bool |  |
Diffuse | Diffuse | Diffuse |  | Color |  |
Enable_Specular | Enable_Specular | Enable Specular |  | Bool |  |
Specular | Specular | Specular |  | Color |  |
Enable_Emissive | Enable_Emissive | Enable Emissive |  | Bool |  |
Emissive | Emissive | Emissive |  | Color |  |
Enable_Shininess | Enable_Shininess | Enable Shininess |  | Bool |  |
Shininess | Shininess | Shininess |  | Float | 0.0 - 128.0 |
Enable_Lighting | Enable_Lighting | Enable Lighting |  | Bool |  |
Texture_1_Enable | Texture_1_Enable | Enable Texture 1 |  | Bool |  |
Texture_1 | Texture_1 | Texture 1 |  | Texture |  |
tspace_id1 | tspace_id1 | Texture Space |  | TextureSpace |  |
Modulation1 | Modulation1 | Modulation |
0 | Modulate
1 | Decal
2 | Blend
3 | Replace
| Integer |  |
Refmap1 | Refmap1 | Reflection Map |  | Bool |  |
WrapS1 | WrapS1 | U Wrap |  | Bool |  |
WrapT1 | WrapT1 | V Wrap |  | Bool |  |
magfilter1 | magfilter1 | Magnification Filtering |
0 | Sample point
1 | Linear interpolation
| Integer |  |
minfilter1 | minfilter1 | Minification Filtering |
0 | Sample point
1 | Linear interpolation
2 | Sample mip + sample point
3 | Linear interpolated mip + sample point
4 | Sample mip + linear interpolation
5 | Linear interpolated mip + linear interpolation
| Integer |  |

Autodesk Softimage v7.5