source:
data/branches/Shader_HS18/programs/Example/Cg/Example_TextureArrayVS.cg
@
12091
| Last change on this file since 12091 was 12083, checked in by wiesep, 7 years ago | |
|---|---|
| File size: 287 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.










