Yep, just these changes (Mitch has been working on a GL wrapper, mostly for debugging, I've been doing mostly work on other versions):
- Set gamma to 1.0 in data/renderer/common/hdr.cg - gamma is done in your display!
- Added shader texture option 'mode' to specify linear or SRGB maps. Default is 'srgb'. Bumpmaps need 'linear'
otherwise their normals will be un-gamma'd (an SRGB image has gamma~0.45 where Racer works in linear light, gamma=1).
It's at http://www.racer.nl/download/racer0.8.20.zip
Check out Carlswood's track.shd and the Lambo car.shd to see 'mode=linear' being used for linear textures.
As for bugs, we're having some issues where sometimes we get a 'cgiChopArrayReference' or something creeps up. Mitch is looking into it.
- Set gamma to 1.0 in data/renderer/common/hdr.cg - gamma is done in your display!
- Added shader texture option 'mode' to specify linear or SRGB maps. Default is 'srgb'. Bumpmaps need 'linear'
otherwise their normals will be un-gamma'd (an SRGB image has gamma~0.45 where Racer works in linear light, gamma=1).
It's at http://www.racer.nl/download/racer0.8.20.zip
Check out Carlswood's track.shd and the Lambo car.shd to see 'mode=linear' being used for linear textures.
As for bugs, we're having some issues where sometimes we get a 'cgiChopArrayReference' or something creeps up. Mitch is looking into it.