summaryrefslogtreecommitdiff
path: root/progs/vp/add-param-imm.txt
blob: 90bcf96528ffc4a6fdad46d19b224cf6efb0e324 (plain)
1
2
3
4
5
6
7
!!ARBvp1.0
TEMP R0;
PARAM Emission = state.material.emission; 
ADD R0, vertex.color, {-0.5}.x;
ADD result.color, R0, Emission.w;
MOV  result.position, vertex.position;
END