-
Notifications
You must be signed in to change notification settings - Fork 5
Documentation: Voxel Color Modifier
Essentuan edited this page Mar 28, 2026
·
1 revision
Intercepts the color of a voxel during tracing. Disabled using PH_VOXEL_COLOR_MODIFIER_DISABLED.
Usage:
// result_block_id can be used to ge the block id
void voxel_color_modifier(
inout vec4 color, // component range is 0..1
vec3 rt_pos,
ivec3 rt_block_pos
);- Home
- Documentation
- How to adapt your Shaderpack