~ubuntu-branches/ubuntu/trusty/blender/trusty

« back to all changes in this revision

Viewing changes to source/blender/gpu/intern/gpu_shader_vertex.glsl

  • Committer: Package Import Robot
  • Author(s): Jeremy Bicha
  • Date: 2013-03-06 12:08:47 UTC
  • mfrom: (1.5.1) (14.1.8 experimental)
  • Revision ID: package-import@ubuntu.com-20130306120847-frjfaryb2zrotwcg
Tags: 2.66a-1ubuntu1
* Resynchronize with Debian (LP: #1076930, #1089256, #1052743, #999024,
  #1122888, #1147084)
* debian/control:
  - Lower build-depends on libavcodec-dev since we're not
    doing the libav9 transition in Ubuntu yet

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
varying vec3 varposition;
3
 
varying vec3 varnormal;
4
 
 
5
 
void main()
6
 
{
7
 
        vec4 co = gl_ModelViewMatrix * gl_Vertex;
8
 
 
9
 
        varposition = co.xyz;
10
 
        varnormal = normalize(gl_NormalMatrix * gl_Normal);
11
 
        gl_Position = gl_ProjectionMatrix * co;
12