|
|
|
|
|
|
FragInput output; |
|
|
|
ZERO_INITIALIZE(FragInput, output); |
|
|
|
|
|
|
|
output.positionHS = input.positionHS; |
|
|
|
output.unPositionSS = input.positionHS; |
|
|
|
output.positionWS.xyz = input.interpolators[0].xyz; |
|
|
|
output.tangentToWorld[0] = input.interpolators[1].xyz; |
|
|
|
output.tangentToWorld[1] = input.interpolators[2].xyz; |
|
|
|