Browse Source

Fix voxel define

luboslenco 2 years ago
parent
commit
8f7545f408
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/arm/shader/ShaderFunctions.hx

+ 1 - 1
Sources/arm/shader/ShaderFunctions.hx

@@ -200,7 +200,7 @@ vec3 brightcontrast(const vec3 col, const float bright, const float contr) {
 
 //
 
-	#if rp_voxelao
+	#if rp_voxels
 	public static var str_traceAO = '
 float traceConeAO(sampler3D voxels, const vec3 origin, vec3 dir, const float aperture, const float maxDist, const float offset) {
 	const ivec3 voxelgiResolution = ivec3(256, 256, 256);