Bug 4591 - r_greyscale - true luminance and partial desaturation
Status: RESOLVED FIXED
Alias: None
Product: ioquake3
Classification: Unclassified
Component: Video
Version: GIT MASTER
Hardware: All All
: P3 enhancement
Assignee: Zachary J. Slater
QA Contact: ioquake3 bugzilla mailing list
URL:
Depends on:
Blocks:
 
Reported: 2010-04-08 23:11 EDT by Forrest Voight
Modified: 2011-02-04 11:04:51 EST
2 users (show)

See Also:


Attachments
patch to improve r_greyscale (5.13 KB, patch)
2010-04-08 23:11 EDT, Forrest Voight

Description Forrest Voight 2010-04-08 23:11:44 EDT
Created attachment 2332 [details]
patch to improve r_greyscale

This patch uses r_greyscale as a floating point number, lerping from the normal color to the luminance value of every pixel for every texture and geometry load.

This allows for variable desaturation, which is very useful for anaglyph 3D where you need some shared luminance information to match the images but you want to retain some colour.
Comment 1 Thilo Schulz 2011-02-04 11:04:51 EST
Very nice. Thank you, committed in r1849