Couldn’t find any solution yet.
Perhaps a codepen or fiddle? This says nothing.
Title is misleading. I see no shader, nor any question.
2 Likes
The compiler is complaining about missing functions. Your shader is calling textureLod(...)
somewhere, but that method doesn’t exist.
Maybe map or uv are abscent.
Code: textureLod(map,vUv,0.0);
What version of three.js
are you using?
It’s “three”: 0.152.2
Do you mind demonstrating the issue with a fiddle? three.js dev template - module - JSFiddle - Code Playground