Sfoglia il codice sorgente

fixed textureCubeLod in modern glsl

Nicolas Cannasse 8 anni fa
parent
commit
52bd5789b9
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  1. 5 0
      hxsl/GlslOut.hx

+ 5 - 0
hxsl/GlslOut.hx

@@ -219,6 +219,11 @@ class GlslOut {
 					add("texture");
 					return;
 				}
+			case TextureCubeLod:
+				if( !glES ) {
+					add("textureLod");
+					return;
+				}
 			default:
 			}
 			add(GLOBALS.get(g));