21 lines
466 B
Plaintext
21 lines
466 B
Plaintext
{
|
|
parms {
|
|
stageSort sortTrans
|
|
}
|
|
state {
|
|
twosided
|
|
blend GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
|
|
depthfunc GL_ALWAYS
|
|
depthmask
|
|
alphamask
|
|
}
|
|
hlsl_vp {
|
|
result.position.x = dot4( vertex.position, $mvpMatrixX );
|
|
result.position.y = dot4( vertex.position, $mvpMatrixY );
|
|
result.position.z = dot4( vertex.position, $mvpMatrixZ );
|
|
result.position.w = dot4( vertex.position, $mvpMatrixW );
|
|
}
|
|
hlsl_fp {
|
|
result.color = float4( 1.0, 0.0, 0.0, 0.2 );
|
|
}
|
|
} |