## OpenGL Particle Shader

Type:
  Real Time Shader

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

Number of parameters:
  28

Number of connectable parameters:
  1

Outputs:
  1

Associated library (.dll or .so):
  OGLParticle

Entry point in library:
  OGLParticleEP

Parameter Name | Scriptname | Description | Valid Values | Data Type | Range | UI Range
--- | --- | --- | --- | --- | --- | ---
out | out |  |  | rtrendercontext |  |
OGLParticle | OGLParticle |  |  | String |  |
OGLParticleEP | OGLParticleEP |  |  | String |  |
previous | previous |  |  | rtrendercontext |  |
ShaderType | ShaderType |  |
0 | Primitive
1 | HW Accelerated Sprites
2 | Billboard Sprites
3 | Velocity Vectors
4 | Density
5 | Line Trails
| Integer |  |
PointSize | PointSize | Point Primitive Size |  | Float |  | 0.0 - 50.0
PointSmooth | PointSmooth | Smooth Points |  | Bool |  |
BlendSrc | BlendSrc | BlendSrc |
0 | GL_ZERO
1 | GL_ONE
774 | GL_DST_COLOR
775 | GL_ONE_MINUS_DST_COLOR
776 | GL_SRC_ALPHA_SATURATE
770 | GL_SRC_ALPHA
771 | GL_ONE_MINUS_SRC_ALPHA
772 | GL_DST_ALPHA
773 | GL_ONE_MINUS_DST_ALPHA
| Integer |  |
BlendDest | BlendDest | BlendDest |
0 | GL_ZERO
1 | GL_ONE
774 | GL_SRC_COLOR
775 | GL_ONE_MINUS_SRC_COLOR
770 | GL_SRC_ALPHA
771 | GL_ONE_MINUS_SRC_ALPHA
772 | GL_DST_ALPHA
773 | GL_ONE_MINUS_DST_ALPHA
| Integer |  |
PointSizeMin | PointSizeMin | Point Primitive Size Minimum |  | Float | 0.0 - 1024.0 |
PointSizeMax | PointSizeMax | Point Primitive Size Maximum |  | Float | 0.0 - 1024.0 |
attx | attx | Attenuation X |  | Float |  | 0.0 - 2.0
atty | atty | Attenuation X |  | Float |  | 0.0 - 2.0
attz | attz | Attenuation X |  | Float |  | 0.0 - 2.0
PrimitiveType | PrimitiveType |  |
0 | Points
1 | Cubes
2 | Spheres (Solid)
3 | Spheres (Wireframe)
4 | Snowflake
5 | Debris
6 | Quad
7 | Arrows
| Integer |  |
Light | Light |  |  | Bool |  |
TextureCount | TextureCount |  |
1 | Single
2 | 2x2
3 | 3x3
4 | 4x4
5 | 5x5
6 | 6x6
7 | 7x7
8 | 8x8
| Integer | 1 - 64 |
AlphaTest | AlphaTest |  |  | Bool |  |
AlphaFunc | AlphaFunc | AlphaFunc |
512 | GL_NEVER
513 | GL_LESS
514 | GL_EQUAL
515 | GL_LEQUAL
516 | GL_GREATER
517 | GL_NOTEQUAL
518 | GL_GEQUAL
519 | GL_ALWAYS
| Integer |  |
AlphaRef | AlphaRef | Alpha Reference Value |  | Float | 0.0 - ? | 0.0 - 1.0
Blending | Blending |  |  | Bool |  |
Textured | Textured |  |  | Bool |  |
DensityFalloff | DensityFalloff | Density Falloff |  | Float | 0.0 - ? | 0.0 - 100.0
DensityLimit | DensityLimit | Density Limit (in # of particles) |  | Integer | 1 - ? | 0 - 1000
Sparse | Sparse | Sparse |  | Color |  |
Dense | Dense | Dense |  | Color |  |
VelocityStretch | VelocityStretch | Stretch Along Velocity |  | Bool |  |
GPUInstancing | GPUInstancing | Use GPU Instancing |  | Bool |  |
fadethreshold | fadethreshold | Fade Threshold |  | Float |  | 0.0 - 100.0
customfragmentshader | customfragmentshader | Custom Fragment Shader |  | Bool |  |
fragmentshader | fragmentshader |  |  | String |  |

Autodesk Softimage v7.5