Gamestudio Links
Zorro Links
Newest Posts
Lapsa's very own thread
by Lapsa. 06/08/26 22:41
Stooq now requires an API key
by VHX. 06/08/26 20:14
ZorroGPT
by TipmyPip. 06/06/26 12:36
Zorro 3.01 recoded MMI function issue
by TipmyPip. 06/04/26 05:44
SGT_FW
by Aku_Aku. 05/31/26 11:05
Issues resuming trades on Demo account
by Martin_HH. 05/22/26 13:31
XTB
by pr0logic. 05/18/26 12:27
AUM Magazine
Latest Screens
Dorifto samurai
Shadow 2
Rocker`s Revenge
Stug 3 Stormartillery
Who's Online Now
1 registered members (TipmyPip), 3,506 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Seraphinang, Koti, curry, DeepxKalsi, Samed
19219 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Applying diffrent PostProcessing Shaders #422909
05/20/13 09:24
05/20/13 09:24
Joined: Apr 2012
Posts: 14
I
InfinitlyMe Offline OP
Newbie
InfinitlyMe  Offline OP
Newbie
I

Joined: Apr 2012
Posts: 14
say, i want to use different postprocessing shaders on different objects. my only idea how this could be possible is this:

- execute vs/ps of objects
- render scene with object 1 to Texture A
- render scene with object 2 to Texture B
- apply PP-Shader 1 to Texture A
- apply PP-Shader 2 to Texture B
- Blend Textures A & B and draw on screen

is this basically the way to do? and if yes, how? i don“t know how to prevent drawing specified objects between render-stages

Re: Applying diffrent PostProcessing Shaders [Re: InfinitlyMe] #422910
05/20/13 09:34
05/20/13 09:34
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
Kartoffel Offline
Expert
Kartoffel  Offline
Expert

Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
you'll need

a) MRTs (multiple render-targets) to render in different textures, the object shader has to be modified for this (but that's not that hard)
or
b) multiple views and use either material-events or ent.parent in combination with view.genius to hide the entities for a specific view


POTATO-MAN saves the day! - Random

Moderated by  Blink, Hummel, Superku 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1