Can I easily transfer shaders compiled with three.js to PlayCanvas?

I am learning GLSL outside of playcanvas, if I am to do this and compiling the shaders using three.js are they easily transferrable to playcanvas?

I’ve done this a few times, I wouldn’t call it difficult but it depends on what you’re doing. The thing to keep in mind is that the uniforms are different and operate differently. Most of the logic of your shader should work exactly the same though.

1 Like

Many thanks, I am doing a tutorial on Udemy for GLSL but they are using JS / Three.js to compile them so I was wondering how different it actually is.