Old shader code with fdx/fdz still referenced window.__flightDir, which GLSL can't parse. Removed those lines. Now shader uses only uFlightDir uniform passed from JS.
Old shader code with fdx/fdz still referenced window.__flightDir, which GLSL can't parse. Removed those lines. Now shader uses only uFlightDir uniform passed from JS.