mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-13 05:53:53 +01:00
10 lines
232 B
GLSL
10 lines
232 B
GLSL
varying vec4 v_worldPosition;
|
|
varying vec3 v_viewPosition;
|
|
varying vec3 v_vNormal;
|
|
|
|
void main() {
|
|
gl_FragData[0] = vec4(v_worldPosition.xyz, 1.);
|
|
gl_FragData[1] = vec4(v_viewPosition, 1.);
|
|
gl_FragData[2] = vec4(v_vNormal, 1.);
|
|
}
|