X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=shaders%2Fscene.vs;h=814bea2a36ed6150483253f6bf3b9ef08b4bbb10;hb=c52dacb7bc07e300312e45d605d206222dcbb181;hp=d352d35548de6c2b8851e49702e8f79989077597;hpb=e61356f70eddb79f05d7b9e329e91963ec74f817;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/shaders/scene.vs b/shaders/scene.vs index d352d35..814bea2 100644 --- a/shaders/scene.vs +++ b/shaders/scene.vs @@ -1,7 +1,6 @@ layout (location=0) in vec3 a_co; layout (location=1) in vec4 a_norm; layout (location=2) in vec2 a_uv; -layout (location=3) in ivec4 a_lights; #include "motion_vectors_vs.glsl" @@ -14,8 +13,6 @@ out vec4 aNorm; out vec3 aCo; out vec3 aWorldCo; -flat out ivec4 light_indices; - void main() { vec3 world_pos0 = uMdl * vec4( a_co, 1.0 ); @@ -30,6 +27,4 @@ void main() aNorm = vec4( mat3(uMdl) * a_norm.xyz, a_norm.w ); aCo = a_co; aWorldCo = world_pos0; - - light_indices = a_lights; }