- Timestamp:
- Nov 9, 2018, 1:06:05 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
data/branches/Shader_HS18/programs/Example/GLSL150/HardwarePoseAnimationVp.glsl
r12083 r12091 16 16 void main() 17 17 { 18 19 vec4 interp = vec4(vertex + anim_t.x*uv1.xyz + anim_t.y*uv2.xyz, 1.0);18 // interpolate 19 vec4 interp = vec4(vertex.xyz + anim_t.x * uv1.xyz + anim_t.y * uv2.xyz, 1.0); 20 20 21 22 23 colour = vec4(1.0,0.0,0.0,1.0);21 gl_Position = worldViewProj * interp; 22 oUv = uv0.xy; 23 colour = vec4(1.0, 0.0, 0.0, 1.0); 24 24 } 25
Note: See TracChangeset
for help on using the changeset viewer.