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

Shader program. More...

Public Member Functions

void computeVertexShaderOutputs (in Radiance4 color, in Point3 vsPosition, in float voxelRadius, out vec4 position, out float pointSize, out Color3 voxelLambertian)
 

Public Attributes

flat out Point3 boxCenter
 
in Radiance4 color
 
uniform vec2 halfScreenSize
 
uniform float invVoxelRadius
 
uniform Point3 osCameraPos
 Position of the camera in object space (not voxel space) More...
 
in ivec3 position
 
flat out float voxelCoverage
 
flat out Color3 voxelLambertian
 
uniform float voxelRadius
 

Detailed Description

Shader program.

Member Function Documentation

◆ computeVertexShaderOutputs()

void glsl::VoxelSurface_vertex_glsl::computeVertexShaderOutputs ( in Radiance4  color,
in Point3  vsPosition,
in float  voxelRadius,
out vec4  position,
out float  pointSize,
out Color3  voxelLambertian 
)
inline

Member Data Documentation

◆ boxCenter

flat out Point3 glsl::VoxelSurface_vertex_glsl::boxCenter

◆ color

in Radiance4 glsl::VoxelSurface_vertex_glsl::color

◆ halfScreenSize

uniform vec2 glsl::VoxelSurface_vertex_glsl::halfScreenSize

◆ invVoxelRadius

uniform float glsl::VoxelSurface_vertex_glsl::invVoxelRadius

◆ osCameraPos

uniform Point3 glsl::VoxelSurface_vertex_glsl::osCameraPos

Position of the camera in object space (not voxel space)

◆ position

in ivec3 glsl::VoxelSurface_vertex_glsl::position

◆ voxelCoverage

flat out float glsl::VoxelSurface_vertex_glsl::voxelCoverage

◆ voxelLambertian

flat out Color3 glsl::VoxelSurface_vertex_glsl::voxelLambertian

◆ voxelRadius

uniform float glsl::VoxelSurface_vertex_glsl::voxelRadius

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