mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-14 01:44:55 +00:00
17 lines
387 B
GLSL
17 lines
387 B
GLSL
#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;
|
|
}
|