3 * glsl_version: 3.00 es
6 * The GLSL ES 3.00 spec says:
8 * "If an instance name (instance-name) is used, then it puts all the
9 * members inside a scope within its own name space..."
13 uniform transform_data {
21 // normal vector in camera space
24 // Since the uniform block has an instance name, its mvp field does
25 // not actually conflict with this structure.
32 gl_Position = camera.mvp * position;
33 normal_cs = camera.mv_for_normals * normal;