Support Forum G3D Web Page |
Shader program. More...
Public Member Functions | |
layout (location=0) out Point3 wsCenterVertexOutput | |
World-space position of the center of the photon. More... | |
layout (location=1) out float3 shapeVertexOutput | |
Radius of the bounding shape. More... | |
layout (location=2) out int4 materialPropertiesVertexOutput | |
layout (location=3) out float angleVertexOutput | |
layout (location=4) out Vector3 normalVertexOutput | |
layout (location=5) out float normalWeightVertexOutput | |
void | main () |
Public Attributes | |
in int4 | materialProperties |
material layer index, texelWidth, flags, userdataInt More... | |
in float4 | normal |
World space normal XYZ and W = confidence (0 = use billboard, 1 = use particle normal) More... | |
in float4 | position |
x,y,z, angle More... | |
in float3 | shape |
radius, coverage, userdata More... | |
Shader program.
glsl::ParticleSurface_render_vrt::layout | ( | location | = 0 | ) |
World-space position of the center of the photon.
glsl::ParticleSurface_render_vrt::layout | ( | location | = 1 | ) |
Radius of the bounding shape.
glsl::ParticleSurface_render_vrt::layout | ( | location | = 2 | ) |
glsl::ParticleSurface_render_vrt::layout | ( | location | = 3 | ) |
glsl::ParticleSurface_render_vrt::layout | ( | location | = 4 | ) |
glsl::ParticleSurface_render_vrt::layout | ( | location | = 5 | ) |
|
inline |
in int4 glsl::ParticleSurface_render_vrt::materialProperties |
material layer index, texelWidth, flags, userdataInt
in float4 glsl::ParticleSurface_render_vrt::normal |
World space normal XYZ and W = confidence (0 = use billboard, 1 = use particle normal)
in float4 glsl::ParticleSurface_render_vrt::position |
x,y,z, angle
in float3 glsl::ParticleSurface_render_vrt::shape |
radius, coverage, userdata