mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-11-14 06:23:55 +01:00
10 lines
232 B
Plaintext
10 lines
232 B
Plaintext
|
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.);
|
||
|
}
|