* Fix issue 505
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9506 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
parent
9349bd97c6
commit
ca3f1d941a
@ -1057,6 +1057,9 @@ public class LwjglRenderer implements Renderer {
|
||||
if (caps.contains(Caps.OpenGL30)) {
|
||||
// Check if GLSL version is 1.5 for shader
|
||||
GL30.glBindFragDataLocation(id, 0, "outFragColor");
|
||||
for(int i = 0 ; i < maxMRTFBOAttachs ; i++) {
|
||||
GL30.glBindFragDataLocation(id, i, "outFragData[" + i + "]");
|
||||
}
|
||||
}
|
||||
|
||||
// link shaders to program
|
||||
|
Loading…
x
Reference in New Issue
Block a user