I’ve seen here and there screenshots of jME scenes which are obviously not using gamma correction.
I want to insist on the fact that without gamma correction Lighting in general (PBR or Phong) is wrong!
And it’s even more obvious with the new PBR material.
You may have tweaked your lights and materials colors so it looks ok, but it still wrong.
I understand that you’d want visual consistency for an old project and that you wouldn’t want gamma correction.
But for new project please, check the gamma correction box in the starting dialog box.
In 3.3 I will remove this checkbox and enable gamma correction as a default. You’ll only be able to deactivate it programatically.
Yes.
But if by “painted” you mean unshaded, you won’t see a difference and you don’t need extra work.
If you use lighting, you need gamma correction. Period. It’s not only for photorealistic things…
And if ever you find a good reason to not listen to me Mr Speed the extra work is just adding “settings.setGammaCorrection(false)” when you start your app.
I turned gamma on for Mythruna once and it looked like ass. That’s all I know.
Yes, it’s easy enough to set. We should add a forum sticky when we release 3.3: “If your game suddenly looks like ass when you upgrade, turn gamma off and talk to nehon about why your art is messed up.”
Edit: who am I kidding? No one who needs it will ever read the sticky…
Well… I have some mixed feelings about this. On one hand, this needs to be done the sooner the better, so that new users don’t even attempt to setup a wrongly-lighted scene.
On the other hand… I’ve seen older GPUs and drivers do funny things with gamma enabled, including crashing the game, rendering garbage, or applying a red tint.
This is GPU vendor’s fault but unfortunately jME will get all the blame.
Now that I think about it… this might be mitigated by raising the minimum OpenGL requirements, so that you won’t be able to run jme on bad hardware…
But I have even more mixed feelings about this.
Yes of course it’s why we have a colorSpace attribute in the textures and that you can set -LINEAR on a map in a j3md to specify that you expect a map in linear space.
Yes but this will still be available in the AppSettings class.
So it’s up to you to make an UI to disable it in your game if you want.
Or to force disable it in code with this
I’ll just remove the check box…
If this is as much a problem for everyone… I can just check it by default…
I’ll be honest, I’ve never checked that box and have no idea what it entails. If you say it should be enabled, it’s good enough for me. I have always had to play around just like you describe. Thanks for the education