Shaders, Questions

Couldn’t find any solution yet.
Screenshot 2023-05-08 at 22.02.00

Perhaps a codepen or fiddle? This says nothing.

Title is misleading. I see no shader, nor any question. :thinking:

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