source:
data/branches/Shader_HS18/programs/Example/Cg/PassthroughFP_sm4.cg
@
12091
Last change on this file since 12091 was 12083, checked in by wiesep, 6 years ago | |
---|---|
File size: 399 bytes |
Line | |
---|---|
1 | float4 main (float4 pos : SV_POSITION, |
2 | float2 oUv : TEXCOORD0, |
3 | float4 colour : COLOR) : COLOR |
4 | { |
5 | return colour; |
6 | } |
7 | |
8 | float4 mainCg (float4 pos : SV_POSITION, float4 colour0 : COLOR) : COLOR |
9 | { |
10 | return colour0; |
11 | } |
12 | |
13 | float4 mainForAmbientOneTexture (float4 pos : SV_POSITION, float2 oUv : TEXCOORD0, float4 colour0 : COLOR, uniform float4 colour) : COLOR |
14 | { |
15 | return colour; |
16 | } |
Note: See TracBrowser
for help on using the repository browser.