Support Forum       G3D Web Page     
Public Member Functions | Public Attributes | List of all members
glsl::ParticleSurface_render_vrt Class Reference

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...
 

Detailed Description

Shader program.

Member Function Documentation

◆ layout() [1/6]

glsl::ParticleSurface_render_vrt::layout ( location  = 0)

World-space position of the center of the photon.

◆ layout() [2/6]

glsl::ParticleSurface_render_vrt::layout ( location  = 1)

Radius of the bounding shape.

◆ layout() [3/6]

glsl::ParticleSurface_render_vrt::layout ( location  = 2)

◆ layout() [4/6]

glsl::ParticleSurface_render_vrt::layout ( location  = 3)

◆ layout() [5/6]

glsl::ParticleSurface_render_vrt::layout ( location  = 4)

◆ layout() [6/6]

glsl::ParticleSurface_render_vrt::layout ( location  = 5)

◆ main()

void glsl::ParticleSurface_render_vrt::main ( void  )
inline

Member Data Documentation

◆ materialProperties

in int4 glsl::ParticleSurface_render_vrt::materialProperties

material layer index, texelWidth, flags, userdataInt

◆ normal

in float4 glsl::ParticleSurface_render_vrt::normal

World space normal XYZ and W = confidence (0 = use billboard, 1 = use particle normal)

◆ position

in float4 glsl::ParticleSurface_render_vrt::position

x,y,z, angle

◆ shape

in float3 glsl::ParticleSurface_render_vrt::shape

radius, coverage, userdata


documentation generated on Wed Nov 24 2021 08:02:04 using doxygen 1.8.15