Files
2026-08-09 04:23:10 -07:00

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 );
}
}