xenocara/dist/Mesa/progs/vp/add-param-imm.txt

8 lines
172 B
Plaintext

!!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