source: nanovis/tags/1.1.3/shaders/cutplane_vp.cg @ 5106

Last change on this file since 5106 was 3362, checked in by ldelgass, 11 years ago

Merge nanovis2 branch to trunk

File size: 488 bytes
Line 
1/* -*- mode: c++; c-basic-offset: 4; indent-tabs-mode: nil -*- */
2
3void main(in float4 position : POSITION,
4          in float4 texcoord : TEXCOORD0,
5          out float4 posOut : POSITION,
6          out float4 texcoordOut : TEXCOORD0,
7          uniform float4x4 modelViewProjMatrix)
8{
9    // position is in object coordinates
10    // Output clip space vertex position
11    posOut = mul(modelViewProjMatrix, position);
12
13    // Object space texture coordinates
14    texcoordOut = texcoord;
15}
Note: See TracBrowser for help on using the repository browser.