src/shaders/shaders.vr.secondpass.fragment.js
Function main
has 54 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
main() {
// need to pre-call main to fill up the functions list
this._main = `
void getIntensity(in vec3 dataCoordinates, out float intensity, out vec3 gradient){