Inside3D!
     

Player death post effects
Goto page Previous  1, 2
 
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming
View previous topic :: View next topic  
Author Message
GiffE



Joined: 08 Oct 2006
Posts: 141
Location: USA, CT

PostPosted: Fri Jul 09, 2010 11:21 pm    Post subject: Reply with quote

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.
_________________
http://www.giffe-bin.net/
Back to top
View user's profile Send private message Visit poster's website
Chip



Joined: 21 Jan 2009
Posts: 314
Location: Romania

PostPosted: Sat Jul 10, 2010 1:28 pm    Post subject: Reply with quote

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.
_________________
My Projects: Quake 1 Mods | OpenQuartz 2 | ChipQuake
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Inside3d Forums Forum Index -> QuakeC Programming All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2004 phpBB Group