Update leenkx/Shaders/voxel_resolve_specular/voxel_resolve_specular.comp.glsl
This commit is contained in:
		@ -68,7 +68,7 @@ void main() {
 | 
			
		||||
 | 
			
		||||
	vec2 velocity = -textureLod(sveloc, uv, 0.0).rg;
 | 
			
		||||
 | 
			
		||||
	vec3 color = traceSpecular(P, n, voxels, voxelsSDF, normalize(eye - P), g0.z * g0.z, clipmaps, pixel, velocity).rgb * voxelgiRefl;
 | 
			
		||||
	vec3 color = traceSpecular(P, n, voxels, voxelsSDF, normalize(eye - P), g0.z * g0.z, clipmaps, pixel, velocity).rgb;
 | 
			
		||||
 | 
			
		||||
	imageStore(voxels_specular, ivec2(pixel), vec4(color, 1.0));
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user