16 lines
283 B
Plaintext
16 lines
283 B
Plaintext
{
|
|
parms {
|
|
}
|
|
state {
|
|
depthfunc GL_ALWAYS
|
|
depthmask
|
|
twosided
|
|
}
|
|
hlsl_vp {
|
|
result.position = vertex.position;
|
|
}
|
|
hlsl_fp {
|
|
float2 texcoord = screenPosToTexcoord( fragment.position.xy, $positionToViewTexture );
|
|
result.hcolor = h4tex2D( $viewColorMap, texcoord.xy );
|
|
}
|
|
} |