oglc/shader/include/sphere.glsl

7 lines
72 B
GLSL

struct Sphere
{
// (c.x,c.y,c.z,r)
vec4 cr;
vec3 albedo;
};