Pages: [1]
  Print  
Author Topic: Worldspawn key for specifying postprocess shader  (Read 2294 times)
fromhell
Administrator
GET A LIFE!
**********

Cakes 34
Posts: 14512



WWW
« on: March 14, 2015, 10:14:25 pm »

For certain maps like say a color correction shader or a gaussian blur shader, and there would be a key to specify the texture to use for the postprocess shader if it can use one (like a specific lookup table or a lens dust texture). 


Just writing this idea down so I don't forget it.  Sounds trivial to implement tbh, how i'll implement it would happen before r_postprocess's shader pass
Logged

asking when OA3 will be done won't get OA3 done.
Progress of OA3 currently occurs behind closed doors alone

I do not provide technical support either.

new code development on github
Hitchhiker
Member


Cakes 11
Posts: 181


« Reply #1 on: March 15, 2015, 12:58:06 pm »

Possibly the instructions for postfx could be located in a small text file that could be stored with each map

(i.e. file 'oa_ctf4ish.pfx') containing postprocess instructions for oa_ctf4ish map - something along these lines:

[beginning of file]
ovelay  textures\dust.jpg
tonemap textures\sephia.jpg
// even the entire postprocessing chain could be specified like this
postprocess tonemap+dust+motionblur
...
[end of file]
Logged
Gig
In the year 3000
***

Cakes 45
Posts: 4374


WWW
« Reply #2 on: March 16, 2015, 03:26:54 am »

Thread DO NOT LINK[/b]) h t t p s : / / openarena . wikia . com/index.php?title=Wishlist&diff=16879&oldid=16801]added to the wishlist page ((DO NOT LINK) h t t p s : / / openarena . wikia . com/wiki/Wishlist)
Logged

I never want to be aggressive, offensive or ironic with my posts. If you find something offending in my posts, read them again searching for a different mood there. If you still see something bad with them, please ask me infos. I can be wrong at times, but I never want to upset anyone.
Pages: [1]
  Print  
 
Jump to: