RedcrowProd
Member
|
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
|
|
04-02-2016 12:14 AM |
|
Esenthel
Administrator
|
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 |
|
RedcrowProd
Member
|
RE: ViewPort
okay will do thanks
had to changed couple things around, but worked for the best
(This post was last modified: 04-02-2016 10:54 PM by RedcrowProd.)
|
|
04-02-2016 09:40 PM |
|