| Support Forum G3D Web Page |
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 |
Shader program.
|
inline |
| flat out Point3 glsl::VoxelSurface_vertex_glsl::boxCenter |
| in Radiance4 glsl::VoxelSurface_vertex_glsl::color |
| uniform vec2 glsl::VoxelSurface_vertex_glsl::halfScreenSize |
| uniform float glsl::VoxelSurface_vertex_glsl::invVoxelRadius |
| uniform Point3 glsl::VoxelSurface_vertex_glsl::osCameraPos |
Position of the camera in object space (not voxel space)
| in ivec3 glsl::VoxelSurface_vertex_glsl::position |
| flat out float glsl::VoxelSurface_vertex_glsl::voxelCoverage |
| flat out Color3 glsl::VoxelSurface_vertex_glsl::voxelLambertian |
| uniform float glsl::VoxelSurface_vertex_glsl::voxelRadius |
1.8.15