mirror of
https://github.com/SamEyeBam/animate.git
synced 2025-12-14 17:58:02 +00:00
larry babby and threejs for glsl
This commit is contained in:
9
webGl/my-threejs-test/node_modules/glslify-bundle/fixtures/sibling.glsl
generated
vendored
Normal file
9
webGl/my-threejs-test/node_modules/glslify-bundle/fixtures/sibling.glsl
generated
vendored
Normal file
@@ -0,0 +1,9 @@
|
||||
#pragma glslify: another_thing = require(./another, t = v = 4.0, u = uVec.x)
|
||||
#pragma glslify: LightStruct = require(./struct)
|
||||
|
||||
float sibling(float a) {
|
||||
LightStruct b = LightStruct(vec3(0), vec4(0));
|
||||
return a * another_thing(b.color + 2.0);
|
||||
}
|
||||
|
||||
#pragma glslify: export(sibling)
|
||||
Reference in New Issue
Block a user