Support Forum       G3D Web Page     
Classes | Namespaces | Macros
SVO_base.glsl File Reference

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License. More...

Classes

class  glsl::SVO_base_glsl
 Shader program. More...
 

Namespaces

 glsl
 

Macros

#define gl_WorkGroupIndex   (gl_WorkGroupID.x+gl_WorkGroupID.y*gl_NumWorkGroups.x)
 
#define GLSL_DEC_GLOBAL_VAR(type)   type
 
#define GLSL_FUNC_DEC
 
#define GLSL_GLOBAL_LOAD(address)   (*(address))
 
#define GLSL_INOUT_PARAM(type)   inout type
 
#define GLSL_OUT_PARAM(type)   out type
 
#define GLSL_SHARED_VAR   shared
 
#define GLSL_UNIFORM_VAR   uniform
 
#define NULL   (0)
 
#define SVO_base_glsl
 
#define SVO_COORD_BASE_TYPE   int
 
#define SVO_COORD_VAR_TYPE   ivec3
 
#define SVO_EMPTY_SPACE_SKIPPING   1
 
#define SVO_ENABLE_VOXEL_FETCH   1
 
#define SVO_HACK_COLOR_FROM_LEVEL   0
 
#define SVO_LEVEL_VAR_TYPE   int
 
#define SVO_NODE_CACHE_SWITCH_STATE   0
 
#define SVO_REF_MAX_LEVEL   12
 
#define SVO_SAMPLE_NEAREST_MIPMAP   0
 
#define SVO_SAMPLE_PREMULT_BY_ALPHA   0
 
#define SVO_SAMPLE_QUADLINEAR   0
 
#define SVO_SAMPLE_TRILINEAR   0
 
#define SVO_SAMPLING_OPTIM_MAX_INSTR_PARALLELISM   1
 
#define SVO_TRACING_BLOCK_SIZE   (SVO_TRACING_BLOCK_SIZE_X*SVO_TRACING_BLOCK_SIZE_Y)
 
#define SVO_TRACING_BLOCK_SIZE_X   WORK_GROUP_SIZE_X
 
#define SVO_TRACING_BLOCK_SIZE_Y   WORK_GROUP_SIZE_Y
 
#define SVO_TRACING_REGOPTIM_SHAREDMEM   0
 
#define SVO_TRACING_USE_MULTITHREADS_TRAVERSAL   0
 
#define SVO_TRACING_USE_WARP_COLLAB_TRAVERSAL   0
 
#define SVO_TRAVERSE_FETCH_THROUGH_TEX   1
 
#define SVO_TRAVERSE_NODEIDX_OPTIM   1
 
#define SVO_TRAVERSE_SHIFT_OPTIM   1
 
#define SVO_USE_BLOCK_TRACE   0
 
#define SVO_USE_DEBUG_SHADING   1
 
#define SVO_USE_NODE_CACHE   0
 
#define SVO_USE_STANDARD   1
 
#define SVO_USE_TEXTURE_FILTERING   SVO_USE_BRICKS
 
#define SVO_USE_TEXTURE_SHADER   0
 
#define SVO_VOXEL_POOL_USE_ZCURVE   1
 
#define VOXEL_TAU_BASE_DISTANCE   (1.0f/2048.0f)
 

Detailed Description

G3D Innovation Engine http://casual-effects.com/g3d Copyright 2000-2019, Morgan McGuire All rights reserved Available under the BSD License.

Macro Definition Documentation

◆ gl_WorkGroupIndex

#define gl_WorkGroupIndex   (gl_WorkGroupID.x+gl_WorkGroupID.y*gl_NumWorkGroups.x)

◆ GLSL_DEC_GLOBAL_VAR

#define GLSL_DEC_GLOBAL_VAR (   type)    type

◆ GLSL_FUNC_DEC

#define GLSL_FUNC_DEC

◆ GLSL_GLOBAL_LOAD

#define GLSL_GLOBAL_LOAD (   address)    (*(address))

◆ GLSL_INOUT_PARAM

#define GLSL_INOUT_PARAM (   type)    inout type

◆ GLSL_OUT_PARAM

#define GLSL_OUT_PARAM (   type)    out type

◆ GLSL_SHARED_VAR

#define GLSL_SHARED_VAR   shared

◆ GLSL_UNIFORM_VAR

#define GLSL_UNIFORM_VAR   uniform

◆ NULL

#define NULL   (0)

◆ SVO_base_glsl

#define SVO_base_glsl

◆ SVO_COORD_BASE_TYPE

#define SVO_COORD_BASE_TYPE   int

◆ SVO_COORD_VAR_TYPE

#define SVO_COORD_VAR_TYPE   ivec3

◆ SVO_EMPTY_SPACE_SKIPPING

#define SVO_EMPTY_SPACE_SKIPPING   1

◆ SVO_ENABLE_VOXEL_FETCH

#define SVO_ENABLE_VOXEL_FETCH   1

◆ SVO_HACK_COLOR_FROM_LEVEL

#define SVO_HACK_COLOR_FROM_LEVEL   0

◆ SVO_LEVEL_VAR_TYPE

#define SVO_LEVEL_VAR_TYPE   int

◆ SVO_NODE_CACHE_SWITCH_STATE

#define SVO_NODE_CACHE_SWITCH_STATE   0

◆ SVO_REF_MAX_LEVEL

#define SVO_REF_MAX_LEVEL   12

◆ SVO_SAMPLE_NEAREST_MIPMAP

#define SVO_SAMPLE_NEAREST_MIPMAP   0

◆ SVO_SAMPLE_PREMULT_BY_ALPHA

#define SVO_SAMPLE_PREMULT_BY_ALPHA   0

◆ SVO_SAMPLE_QUADLINEAR

#define SVO_SAMPLE_QUADLINEAR   0

◆ SVO_SAMPLE_TRILINEAR

#define SVO_SAMPLE_TRILINEAR   0

◆ SVO_SAMPLING_OPTIM_MAX_INSTR_PARALLELISM

#define SVO_SAMPLING_OPTIM_MAX_INSTR_PARALLELISM   1

◆ SVO_TRACING_BLOCK_SIZE

#define SVO_TRACING_BLOCK_SIZE   (SVO_TRACING_BLOCK_SIZE_X*SVO_TRACING_BLOCK_SIZE_Y)

◆ SVO_TRACING_BLOCK_SIZE_X

#define SVO_TRACING_BLOCK_SIZE_X   WORK_GROUP_SIZE_X

◆ SVO_TRACING_BLOCK_SIZE_Y

#define SVO_TRACING_BLOCK_SIZE_Y   WORK_GROUP_SIZE_Y

◆ SVO_TRACING_REGOPTIM_SHAREDMEM

#define SVO_TRACING_REGOPTIM_SHAREDMEM   0

◆ SVO_TRACING_USE_MULTITHREADS_TRAVERSAL

#define SVO_TRACING_USE_MULTITHREADS_TRAVERSAL   0

◆ SVO_TRACING_USE_WARP_COLLAB_TRAVERSAL

#define SVO_TRACING_USE_WARP_COLLAB_TRAVERSAL   0

◆ SVO_TRAVERSE_FETCH_THROUGH_TEX

#define SVO_TRAVERSE_FETCH_THROUGH_TEX   1

◆ SVO_TRAVERSE_NODEIDX_OPTIM

#define SVO_TRAVERSE_NODEIDX_OPTIM   1

◆ SVO_TRAVERSE_SHIFT_OPTIM

#define SVO_TRAVERSE_SHIFT_OPTIM   1

◆ SVO_USE_BLOCK_TRACE

#define SVO_USE_BLOCK_TRACE   0

◆ SVO_USE_DEBUG_SHADING

#define SVO_USE_DEBUG_SHADING   1

◆ SVO_USE_NODE_CACHE

#define SVO_USE_NODE_CACHE   0

◆ SVO_USE_STANDARD

#define SVO_USE_STANDARD   1

◆ SVO_USE_TEXTURE_FILTERING

#define SVO_USE_TEXTURE_FILTERING   SVO_USE_BRICKS

◆ SVO_USE_TEXTURE_SHADER

#define SVO_USE_TEXTURE_SHADER   0

◆ SVO_VOXEL_POOL_USE_ZCURVE

#define SVO_VOXEL_POOL_USE_ZCURVE   1

◆ VOXEL_TAU_BASE_DISTANCE

#define VOXEL_TAU_BASE_DISTANCE   (1.0f/2048.0f)

documentation generated on Wed Nov 24 2021 08:01:50 using doxygen 1.8.15