| Support Forum G3D Web Page |
Shader program. More...
Public Member Functions | |
| void | emit (float x, float y) |
| Produce a vertex. More... | |
| layout (points) in | |
| layout (triangle_strip, max_vertices=4) out | |
| layout (location=0) in Point3 wsCenterVertexOutput[] | |
| layout (location=1) in float3 shapeVertexOutput[] | |
| layout (location=2) in int4 materialPropertiesVertexOutput[] | |
| layout (location=3) in float angleVertexOutput[] | |
| void | main () |
Public Attributes | |
| const int | CASTS_SHADOWS = 1 |
| Mask for materialProperties[3]. More... | |
| float2 | csRight |
| float2 | csUp |
| uniform UniversalMaterial2DArray | material |
| out Point3 | texCoord |
| int | texelWidth = materialPropertiesVertexOutput[0].y |
| flat out float | textureID |
| out Point3 | wsPosition |
| float3 | wsRight |
| float3 | wsUp |
Shader program.
|
inline |
Produce a vertex.
Note that x and y are compile-time constants, so most of this arithmetic compiles out.
| glsl::ParticleSurface_stochasticDepthOnly_geo::layout | ( | points | ) |
| glsl::ParticleSurface_stochasticDepthOnly_geo::layout | ( | triangle_strip | , |
| max_vertices | = 4 |
||
| ) |
| glsl::ParticleSurface_stochasticDepthOnly_geo::layout | ( | location | = 0 | ) |
| glsl::ParticleSurface_stochasticDepthOnly_geo::layout | ( | location | = 1 | ) |
| glsl::ParticleSurface_stochasticDepthOnly_geo::layout | ( | location | = 2 | ) |
| glsl::ParticleSurface_stochasticDepthOnly_geo::layout | ( | location | = 3 | ) |
|
inline |
| const int glsl::ParticleSurface_stochasticDepthOnly_geo::CASTS_SHADOWS = 1 |
Mask for materialProperties[3].
| float2 glsl::ParticleSurface_stochasticDepthOnly_geo::csRight |
| float2 glsl::ParticleSurface_stochasticDepthOnly_geo::csUp |
| uniform UniversalMaterial2DArray glsl::ParticleSurface_stochasticDepthOnly_geo::material |
| out Point3 glsl::ParticleSurface_stochasticDepthOnly_geo::texCoord |
| int glsl::ParticleSurface_stochasticDepthOnly_geo::texelWidth = materialPropertiesVertexOutput[0].y |
| flat out float glsl::ParticleSurface_stochasticDepthOnly_geo::textureID |
| out Point3 glsl::ParticleSurface_stochasticDepthOnly_geo::wsPosition |
| float3 glsl::ParticleSurface_stochasticDepthOnly_geo::wsRight |
| float3 glsl::ParticleSurface_stochasticDepthOnly_geo::wsUp |
1.8.15