4 ms·
Yeah, looks like there's a couple of differences. If you look at the top left there are a few examples that are shadertoy examples. Example 5 (Smiley face) show
by hex4def6 3y ago
Yeah, looks like there's a couple of differences. If you look at the top left there are a few examples that are shadertoy examples.
Example 5 (Smiley face) shows some differences:
* the void main() declaration difference
* the inclusion of iTime vs time
* gl_FragColor vs fragcolor
Also, the demo adds:
uniform float time;
varying vec2 vUv;
varying vec3 vNormal;
I think those are the biggest differences.