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

Shader program. More...

Public Member Functions

void main ()
 
float random (Point3 p)
 
void writePixel (Radiance3 premultipliedReflectionAndEmission, float coverage, Color3 transmissionCoefficient, float collimation, float etaRatio, Point3 csPosition, Vector3 csNormal)
 

Public Attributes

out Color4 _result
 
uniform float backgroundZ
 
uniform vec2 backSizeMeters
 
uniform float3 clipInfo
 
uniform sampler2D depthBuffer
 
in RenderGeometryOutputs geoOutputs
 
uniform UniversalMaterial2DArray material
 
const float SOFT_PARTICLE_FADE_DISTANCE = 0.6
 

Detailed Description

Shader program.

Member Function Documentation

◆ main()

void glsl::ParticleSurface_render_pix::main ( void  )
inline

◆ random()

float glsl::ParticleSurface_render_pix::random ( Point3  p)
inline

◆ writePixel()

void glsl::ParticleSurface_render_pix::writePixel ( Radiance3  premultipliedReflectionAndEmission,
float  coverage,
Color3  transmissionCoefficient,
float  collimation,
float  etaRatio,
Point3  csPosition,
Vector3  csNormal 
)
inline

Member Data Documentation

◆ _result

out Color4 glsl::ParticleSurface_render_pix::_result

◆ backgroundZ

uniform float glsl::ParticleSurface_render_pix::backgroundZ

◆ backSizeMeters

uniform vec2 glsl::ParticleSurface_render_pix::backSizeMeters

◆ clipInfo

uniform float3 glsl::ParticleSurface_render_pix::clipInfo

◆ depthBuffer

uniform sampler2D glsl::ParticleSurface_render_pix::depthBuffer

◆ geoOutputs

in RenderGeometryOutputs glsl::ParticleSurface_render_pix::geoOutputs

◆ material

uniform UniversalMaterial2DArray glsl::ParticleSurface_render_pix::material

◆ SOFT_PARTICLE_FADE_DISTANCE

const float glsl::ParticleSurface_render_pix::SOFT_PARTICLE_FADE_DISTANCE = 0.6

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