Added shaders and doomscript from the build.

This commit is contained in:
Justin Marshall
2026-08-09 04:23:10 -07:00
parent 82cfb1972d
commit 1d0c9d6657
734 changed files with 19587 additions and 0 deletions
@@ -0,0 +1,26 @@
{
parms {
stageSort sortTrans
}
state {
blend GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
}
hlsl_vp {
float3 normal = vertex.normal.xyz * 2.0 - 1.0;
float4 tangent = vertex.tangent * 2.0 - 1.0;
float3 bitangent = cross( normal, tangent.xyz ) * tangent.w;
float3 r0 = ( normal * $color.x ) + ( tangent.xyz * $color.y ) + ( bitangent * $color.z );
result.color.xyz = r0 + 0.5;
result.color.w = 0.5;
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 = fragment.color;
}
}