Merge pull request 'Update leenkx/Shaders/voxel_resolve_specular/voxel_resolve_specular.comp.glsl' (#35) from Onek8/LNXSDK:main into main
Reviewed-on: #35
This commit is contained in:
		| @ -47,8 +47,8 @@ uniform sampler2D sveloc; | |||||||
| void main() { | void main() { | ||||||
| 	const vec2 pixel = gl_GlobalInvocationID.xy; | 	const vec2 pixel = gl_GlobalInvocationID.xy; | ||||||
| 	vec2 uv = (pixel + 0.5) / postprocess_resolution; | 	vec2 uv = (pixel + 0.5) / postprocess_resolution; | ||||||
| 	#ifdef _InvY; | 	#ifdef _InvY | ||||||
| 	uv.y = 1.0 - uv.y | 	uv.y = 1.0 - uv.y; | ||||||
| 	#endif | 	#endif | ||||||
|  |  | ||||||
| 	float depth = textureLod(gbufferD, uv, 0.0).r * 2.0 - 1.0; | 	float depth = textureLod(gbufferD, uv, 0.0).r * 2.0 - 1.0; | ||||||
|  | |||||||
		Reference in New Issue
	
	Block a user