diff options
Diffstat (limited to '3rdparty/bgfx/examples/31-rsm/varying.def.sc')
-rw-r--r-- | 3rdparty/bgfx/examples/31-rsm/varying.def.sc | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/3rdparty/bgfx/examples/31-rsm/varying.def.sc b/3rdparty/bgfx/examples/31-rsm/varying.def.sc new file mode 100644 index 00000000000..50fbb16f454 --- /dev/null +++ b/3rdparty/bgfx/examples/31-rsm/varying.def.sc @@ -0,0 +1,10 @@ +vec4 v_color0 : COLOR0 = vec4(1.0, 0.0, 0.0, 1.0); +vec3 v_normal : NORMAL = vec3(0.0, 0.0, 1.0); +vec2 v_texcoord0 : TEXCOORD0 = vec2(0.0, 0.0); +vec3 v_view : TEXCOORD1 = vec3(0.0, 0.0, 0.0); +vec4 v_lightCenterScale : TEXCOORD2 = vec4(0.0, 0.0, 0.0, 0.0); // xyz is position z is scale + +vec3 a_position : POSITION; +vec4 a_color0 : COLOR0; +vec2 a_texcoord0 : TEXCOORD0; +vec3 a_normal : NORMAL; |