|
|
|
|
|
|
switch (paramId) |
|
|
|
{ |
|
|
|
case DEBUGVIEWVARYING_TEXCOORD0: |
|
|
|
result = float3(input.texCoord0 * 0.5 + 0.5, 0.0); |
|
|
|
result = float3(input.texCoord0, 0.0); |
|
|
|
result = float3(input.texCoord1 * 0.5 + 0.5, 0.0); |
|
|
|
result = float3(input.texCoord1, 0.0); |
|
|
|
result = float3(input.texCoord2 * 0.5 + 0.5, 0.0); |
|
|
|
result = float3(input.texCoord2, 0.0); |
|
|
|
result = float3(input.texCoord3 * 0.5 + 0.5, 0.0); |
|
|
|
result = float3(input.texCoord3, 0.0); |
|
|
|
break; |
|
|
|
case DEBUGVIEWVARYING_VERTEX_TANGENT_WS: |
|
|
|
result = input.tangentToWorld[0].xyz * 0.5 + 0.5; |
|
|
|