However! on firefox you can’t see the texture also the same on mobile
with mobile i get this:
`
THREE.WebGLProgram: shader error: 0 35715 false gl.getProgramInfoLog invalid shaders THREE.WebGLShader: gl.getShaderInfoLog() fragment 0:434: S0032: no default precision defined for variable 'float[4]'1: version 300 es 2: #define varying in 3: out highp vec4 pc_fragColor;
@looeee@marquizzo@Mugen87@donmccurdy@drcmda maybe one you guys know as you are gods in my eyes and have always helped me in the past with a correct answer sorry for the tags! just really struggling and my shader knowledge is really showing/ or i should say lacking
I’ve been trying to give you a solution on StackOverflow, but you’re not providing us with the tools to help you. I asked you to provide a working demo of your shaders on JSFiddle so I could test on mobile. Instead, you provided us with this, which is not a working demo. It’s just the standalone shader code with no way for anyone to execute.
You’ve also given us a link to the full build of your game, which is again not helpful because we cannot make modifications to your code to try fixes, plus we don’t have the time to dig through your entire codebase. It’s up to you to make it as simple as possible so it’s easy for others to help you without taking hours of their day. This is why creating a minimal reproducible example is important:
See this question as an example. The user asked a question with a simple reproduction on Codepen, so I was able to verify the problem and provide a solution that same day.