Search found 47 matches

Search found 47 matches Page 1 of 5
by greenfire27
Tue Oct 15, 2019 9:28 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 4049
Yes, the problem is with Windows 10, 1903, but it sounds like it works for Android.
by greenfire27
Tue Oct 15, 2019 8:55 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 4049
I think the value in script is between 0 and 1 (not including 0) and in the engine that maps to -1 to 1.

So should we be doing something platform specific for gamma correction on Android?
by greenfire27
Tue Oct 15, 2019 7:48 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 4049
And does it cause any problems in Android or iOS? In the latest version of windows it brings the whole machine to it's knees in a hell-storm of utter darkness!
by greenfire27
Tue Oct 15, 2019 6:13 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 4049
It happens automatically when the engine is starting up. Go to /platform/platformVideo.cc line 197 and 198. If you get latest in the master branch you'll need to uncomment them. The top line is an if-statement to which checks for gamma correction with getDeviceGammaRamp(). If it returns true (i.e. t...
by greenfire27
Mon Oct 14, 2019 3:08 pm
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 4049
Thanks for the reply! I already commented out the gamma code from the Master branch, but it's easy to revive if you want to test it. Remember, the bug won't happen if you have two monitors (which most devs seem to have).

I think in most cases the gamma correction code wasn't firing anymore anyway.
by greenfire27
Mon Oct 14, 2019 3:58 am
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 4049
It seems when there are two monitors set to extend the view then getDeviceGammaRamp returns false which causes the setDeviceGammaRamp to never be called.

Is this Gamma ramp code just so old it doesn't work? Would I be better off removing it entirely?
by greenfire27
Mon Oct 14, 2019 3:31 am
Forum: C++
Topic: Black Screen with Gamma Correction
Replies: 15
Views: 4049
Hi, This is something that is popping up in Torque 2D but it might be the same in 3D as well. It seems that in windows 10 version 1903, if there's not two monitors extending the view, then setting the gamma with setDeviceGammaRamp causes the screen to go entirely black with no way of fixing it. If a...
by greenfire27
Mon Sep 09, 2019 12:54 am
Forum: Torque 2D
Topic: Torque2D on Patreon
Replies: 62
Views: 12998
You should probably move that question to it's own thread. Maybe someone with some Android knowledge will spot it and help you out.

Wish I could help, but I've done painfully little with Android.
by greenfire27
Wed Aug 28, 2019 4:48 am
Forum: Torque 2D
Topic: Torque2D on Patreon
Replies: 62
Views: 12998
Like microtransactions and such? Interesting. We should probably have code that can easily be added to the engine for these sorts of things.
by greenfire27
Mon Aug 26, 2019 5:03 pm
Forum: Torque 2D
Topic: Torque2D on Patreon
Replies: 62
Views: 12998
That's cool! I hope it does well.

I don't know what admob is so I'm probably not going to be able to help you.
Search found 47 matches Page 1 of 5