[x3d-public] X3DOM Documentation: Gamma Correction
Patrick Dähne
pdaehne at gmail.com
Wed Sep 2 02:41:48 PDT 2020
Hi Michalis,
> 7. Castle Game Engine by default applies gamma correction on PhysicalMaterial, and *does not* apply gamma correction on Material or UnlitMaterial.
Ok. Let’s say you have something like that:
Shape {
appearance Appearance {
material Material {
texture DEF tex ImageTexture {
url "foo.png"
}
}
}
geometry Box {}
}
Shape {
appearance Appearance {
material PhysicalMaterial {
baseTexture USE tex
}
}
geometry Box {}
}
What’s the internal OpenGL texture format of the ImageTexture? GL_RGB or GL_SRGB?
Bye,
Patrick
More information about the x3d-public
mailing list