Initial merging of ATM with Globebrowsing. Still missing code.

This commit is contained in:
Jonathas Costa
2017-05-12 16:46:12 -04:00
parent 9639429980
commit 587d5c8d75
27 changed files with 772 additions and 175 deletions

View File

@@ -25,10 +25,16 @@
#include "floatoperations.glsl"
#include <#{fragmentPath}>
out vec4 _out_color_;
layout(location = 0) out vec4 _out_color_;
layout(location = 1) out vec4 gColor;
layout(location = 2) out vec4 gPosition;
layout(location = 3) out vec4 gNormalReflectance;
void main() {
Fragment f = getFragment();
_out_color_ = f.color;
gPosition = f.gPosition;
gNormalReflectance = f.gNormalReflectance;
gColor = f.gColor;
gl_FragDepth = normalizeFloat(f.depth);
}