Skip to content
Snippets Groups Projects

Resolve "Voxel cone tracing"

Merged Ghost User requested to merge 82-voxel-cone-tracing into develop
Compare and Show latest version
1 file
+ 0
1
Compare changes
  • Side-by-side
  • Inline
@@ -147,7 +147,6 @@ vec3 voxelConeTrace(vec3 direction, vec3 startPosition, float coneAngleRadian, t
vec4 voxelSample = textureLod(sampler3D(voxelTexture, voxelSampler), sampleUV , mip);
color += (1 - a) * voxelSample.rgb;
voxelSample.a = pow(voxelSample.a, 0.6);
a += (1 - a) * voxelSample.a;
float minStepSize = 0.15;
Loading