animate/webGl/my-threejs-test/node_modules/glslify-bundle/fixtures/another.glsl

17 lines
387 B
Plaintext
Raw Normal View History

2024-06-24 09:24:00 +00:00
#pragma glslify: LightStruct = require(./struct)
#pragma glslify: export(another)
float alongside() {
return 0.0;
}
float another(float n) {
LightStruct b = LightStruct(vec3(0), vec4(0));
return n * n + b.position + alongside() + t + u;
}
float another(float n, float c) {
LightStruct b = LightStruct(vec3(0), vec4(0));
return n * n + b.position + another(c) + t + u - v;
}