Gamma on cubic texture

What it says on the tin: a place to discuss proposed new features.
Post Reply
bleubleu
Kobold
Posts: 27
Joined: Mon Dec 11, 2006 4:38 am

Gamma on cubic texture

Post by bleubleu » Fri Nov 26, 2010 2:40 am

When adding a "cubic_texture" to a texture unit state in a material script, the "gamma" keyword is not supported (it is on regular 2d textures). Most HW does support to de-gamma of cube maps on read. I think its possible right now to enable it by code by doing tus->setHardwareGammaEnabled(true), but it must be called BEFORE the texture is loaded, which is tricky...

-Mat
0 x

Post Reply