Set context addressing

This commit is contained in:
luboslenco
2019-05-22 21:46:21 +02:00
parent d3a78b16a6
commit 9a92d8dfa9
+2
View File
@@ -161,6 +161,8 @@ class MaterialParser {
if (sc == null) compileError = true;
});
if (compileError) return;
sc.overrideContext = {}
sc.overrideContext.addressing = "repeat";
m.shader.raw.contexts.push(sc.raw);
m.shader.contexts.push(sc);