- varying vec3 vNormal;
- varying vec4 pos;
- void main()
- {
- gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);
- pos = modelViewMatrix * vec4(position, 1.0);
- vNormal = normalize(normalMatrix * normal);
- }
Oberfläche einer KugelModerator: DGL-Team
|