mirror of
				https://github.com/zenorogue/hyperrogue.git
				synced 2025-10-30 21:42:59 +00:00 
			
		
		
		
	ray:: fixed mirrors in intra::in
This commit is contained in:
		| @@ -958,6 +958,7 @@ void raygen::apply_reflect() { | |||||||
|     "    tangent = " + getM("uMirrorShift+walloffset+which") + " * tangent;\n" |     "    tangent = " + getM("uMirrorShift+walloffset+which") + " * tangent;\n" | ||||||
|     "    continue;\n" |     "    continue;\n" | ||||||
|     "    }\n"; |     "    }\n"; | ||||||
|  |     if(fsh.find("uMirrorShift") == string::npos) | ||||||
|       fsh += "uniform int uMirrorShift;\n"; |       fsh += "uniform int uMirrorShift;\n"; | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Zeno Rogue
					Zeno Rogue