About Store Forum Documentation Contact
Donations:
327$/mo



Post Reply 
ViewPort
Author Message
RedcrowProd Offline
Bronze Supporter

Post: #1
ViewPort
Hey i got my viewport, and works like a charm...

my problem that i'm facing atm, every time there's a ElectricityFx effect, it draws it into my viewport as well...

anyway to get ride of the electricity effect in this viewport only ?

i'm sure there's a way, i just cannot figured it out.

thanks smile
04-02-2016 12:14 AM
Find all posts by this user Quote this message in a reply
Esenthel Offline
Administrator

Post: #2
RE: ViewPort
Hi,

You can do something like that:

Code:
Bool EnableEffects=true; // global variable

void ViewportDraw(..)
{
   EnableEffects=false; Renderer(Render);
   EnableEffects=true;
}
04-02-2016 06:20 AM
Find all posts by this user Quote this message in a reply
RedcrowProd Offline
Bronze Supporter

Post: #3
RE: ViewPort
okay will do wink thanks

had to changed couple things around, but worked for the best wink
(This post was last modified: 04-02-2016 10:54 PM by RedcrowProd.)
04-02-2016 09:40 PM
Find all posts by this user Quote this message in a reply
Post Reply