|
@@ -69,7 +69,8 @@ image:http://i.imgur.com/Lya1ldH.png[Lya1ldH.png,width="400",height=""]
|
|
|
|
|
|
|
|
[IMPORTANT]
|
|
[IMPORTANT]
|
|
|
====
|
|
====
|
|
|
-This is a short hand to enable both linearization of input textures and Gamma correction of the rendered output on screen.* But both can be enabled separately*.
|
|
|
|
|
|
|
+This is a short hand to enable both linearization of input textures and Gamma correction of the rendered output on screen. +
|
|
|
|
|
+*Both can be enabled separately*.
|
|
|
|
|
|
|
|
====
|
|
====
|
|
|
|
|
|
|
@@ -87,9 +88,13 @@ renderer.setMainFrameBufferSrgb(boolean srgb)
|
|
|
This will be ignored if the hardware doesn't have the GL_ARB_framebuffer_sRGB or the GL_EXT_texture_sRGB.
|
|
This will be ignored if the hardware doesn't have the GL_ARB_framebuffer_sRGB or the GL_EXT_texture_sRGB.
|
|
|
This can be toggled at run time.
|
|
This can be toggled at run time.
|
|
|
|
|
|
|
|
-This uses Opengl hardware gamma correction that uses an approximated Gamma value of 2.2 and uses the following formula : color = pow(color,1/gamma) +
|
|
|
|
|
-Not that this will not yield exact results, as the real gamma can vary depending on the monitor. +
|
|
|
|
|
|
|
+This uses Opengl hardware gamma correction that uses an approximated Gamma value of 2.2 and uses the following formula : color = pow(color,1/gamma)
|
|
|
|
|
+
|
|
|
|
|
+[NOTE]
|
|
|
|
|
+====
|
|
|
|
|
+This will not yield exact results, as the real gamma can vary depending on the monitor. +
|
|
|
If this is a problem, please refer to the “handling gamma correction in a post process section.
|
|
If this is a problem, please refer to the “handling gamma correction in a post process section.
|
|
|
|
|
+====
|
|
|
|
|
|
|
|
|
|
|
|
|
===== Enabling texture linearization
|
|
===== Enabling texture linearization
|