Has anyone successfully used the GLSL 3 ES shaders with the three.js library? From what I know, it is impossible for the latest version (r68) of beacuse, you canβt even set a directive (which is required and should be the first in the shader code):
beacause the prefix that is added to each shader using three.js.
Does anyone know any solution to this problem? Would changing the three.js code suffice to add a directive at the beginning of the threejs shaders prefix?
source share