blob: d1548f1f10d80e792e62726ea269883a5f52d037 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
!!ARBvp1.0
PARAM Emission = state.material.emission;
PARAM Ambient = state.material.ambient;
PARAM Diffuse = state.material.diffuse;
PARAM Specular = state.material.specular;
DP4 result.position.x, Ambient, vertex.position;
DP4 result.position.y, Diffuse, vertex.position;
DP4 result.position.z, Specular, vertex.position;
DP4 result.position.w, Emission, vertex.position;
MOV result.color, vertex.color;
END
|