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

Shader program. More...

Public Member Functions

bool computeHitAndDepth (in vec4 fragCoord, out Point3 worldPosition, out vec3 normal, out float depth)
 

Public Attributes

flat in Point3 boxCenter
 
uniform float invVoxelRadius
 
uniform float voxelRadius
 

Detailed Description

Shader program.

Member Function Documentation

◆ computeHitAndDepth()

bool glsl::VoxelSurface_pixel_glsl::computeHitAndDepth ( in vec4  fragCoord,
out Point3  worldPosition,
out vec3  normal,
out float  depth 
)
inline

Member Data Documentation

◆ boxCenter

flat in Point3 glsl::VoxelSurface_pixel_glsl::boxCenter

◆ invVoxelRadius

uniform float glsl::VoxelSurface_pixel_glsl::invVoxelRadius

◆ voxelRadius

uniform float glsl::VoxelSurface_pixel_glsl::voxelRadius

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