source:
data/branches/Shader_HS18/programs/Cg/Example_TextureArrayVS.cg
@
12181
Last change on this file since 12181 was 12115, checked in by wiesep, 6 years ago | |
---|---|
File size: 273 bytes |
Line | |
---|---|
1 | |
2 | |
3 | void textureArray_v(float4 position : POSITION, |
4 | float3 uv : TEXCOORD0, |
5 | |
6 | out float4 oPosition : POSITION, |
7 | out float3 oUv : TEXCOORD0, |
8 | |
9 | uniform float4x4 worldViewProj) |
10 | { |
11 | oPosition = mul(worldViewProj, position); |
12 | oUv = uv; |
13 | } |
14 |
Note: See TracBrowser
for help on using the repository browser.