oglc/shader/include/sphere.glsl

9 lines
109 B
GLSL

struct Sphere
{
vec3 center;
float radius;
vec3 albedo;
vec3 specular;
vec3 emission;
};