View.material question

Posted By: Dooley

View.material question - 09/12/17 23:38

My question is about the post-processing shaders found on the Gamestudio Wiki: http://opserver.de/swik10/index.php?title=Shaders

Is it possible to apply a shader like this so that it would effect panels as well as the 3D portion of a game?

If not, is there any kind of shader or script that would effect or alter panels?

Just curious...
Posted By: Dooley

Re: View.material question - 09/12/17 23:42

I found this in the manual under "Stage":

The following stage either renders the whole scene again (PROCESS_TARGET not set), or only the TargetMap (PROCESS_TARGET set) for 2D postprocessing effects. You can use pixel shaders for 2D postprocessing, but no vertex shaders.

It seems to imply that 2D post-processing effects can be used, but I don't know if this would apply to panels or not...

I'm not too familiar with using views/stages/etc... any help would be appreciated.
Posted By: txesmi

Re: View.material question - 09/13/17 06:33

Yes, you can. Bitmaps can be used as render target of another panel or a view or bmap_process.
http://www.opserver.de/ubb7/ubbthreads.php?ubb=showflat&Number=413212
Posted By: Dooley

Re: View.material question - 09/20/17 16:11

Thank you!
I am constantly surprised and amazed by what this engine can do. It's always a bit complex to get started (for me) but it all ends up making sense in the end.
© 2024 lite-C Forums