Forum

Player death post effects

Discuss programming in the QuakeC language.

Moderator: InsideQC Admins

Postby GiffE » Fri Jul 09, 2010 11:21 pm

Chip wrote:
GiffE wrote:black and white can be done using the same way, except with the cvar r_saturation. Fade it from 1 to 0, 0 being fully saturated/blacknwhite.


I know that. Any idea for contrast? DP-only? Any idea for any screen effect like sepia, blue tint, green tint?

EDIT: It's actually r_glsl_saturation in DP.


Ah yes r_glsl_saturation* (went off memory) you can make a sepia, blue, or green tints pretty easily by adding to the glsl/default.glsl post processed effects.

If you need a copy of glsl/default.glsl I think the command to dump it is r_glsl_dumpshader but my memory is fuzzy.
GiffE
 
Posts: 170
Joined: Sun Oct 08, 2006 3:39 pm
Location: USA, CT

Postby Chip » Sat Jul 10, 2010 1:28 pm

GiffE wrote:
Chip wrote:
GiffE wrote:black and white can be done using the same way, except with the cvar r_saturation. Fade it from 1 to 0, 0 being fully saturated/blacknwhite.


I know that. Any idea for contrast? DP-only? Any idea for any screen effect like sepia, blue tint, green tint?

EDIT: It's actually r_glsl_saturation in DP.


Ah yes r_glsl_saturation* (went off memory) you can make a sepia, blue, or green tints pretty easily by adding to the glsl/default.glsl post processed effects.

If you need a copy of glsl/default.glsl I think the command to dump it is r_glsl_dumpshader but my memory is fuzzy.


I already have that default.glsl file. I'll look at it when I can.
QuakeWiki
getButterfly - WordPress Support Services
Roo Holidays

Fear not the dark, but what the dark hides.
User avatar
Chip
 
Posts: 575
Joined: Wed Jan 21, 2009 9:12 am
Location: Dublin, Ireland

Previous

Return to QuakeC Programming

Who is online

Users browsing this forum: No registered users and 1 guest