Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Nov 9, 2018, 1:06:05 PM (5 years ago)
Author:
wiesep
Message:

Updated programs and adjusted Material to work with GLSL>150

File:
1 edited

Legend:

Unmodified
Added
Removed
  • data/branches/Shader_HS18/programs/Example/GLSL150/HardwarePoseAnimationVp.glsl

    r12083 r12091  
    1616void main()
    1717{
    18         // interpolate
    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);
    2020
    21         gl_Position = worldViewProj * interp;
    22         oUv = uv0.xy;
    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);
    2424}
    25 
Note: See TracChangeset for help on using the changeset viewer.