Using several EffectShaders

Post » Sun Jan 04, 2015 7:27 pm

I'm trying to simultaneously apply several types of EffectShaders to the player, based on certain conditions like taking a large amount of damage at once.

However, every time I apply a new shader, the existing shaders seem to get hidden away, and will only come back when the new shader's effect expires. Is there a way of allowing multiple shader effects to be visible on the character at the same time, or is this a limitation of the EffectShader entity?

User avatar
Karine laverre
 
Posts: 3439
Joined: Tue Mar 20, 2007 7:50 am

Post » Mon Jan 05, 2015 12:39 am

All I know is stacking shaders on top of each other will impact performance if too many are stacked.

User avatar
Kahli St Dennis
 
Posts: 3517
Joined: Tue Jun 13, 2006 1:57 am

Post » Mon Jan 05, 2015 6:31 am

This is not a problem for what I'm doing, I'll only be applying 2 or 3 at once. But your answer implies that you can have multiple shaders visible simultaneously, could you provide more details on where you got this information?

User avatar
Antonio Gigliotta
 
Posts: 3439
Joined: Fri Jul 06, 2007 1:39 pm

Post » Mon Jan 05, 2015 8:56 am

While, I've never seen two different shaders applied to the character, yes you can stack shaders of the same type at least, over and over again.

Are you using this: http://www.creationkit.com/Play_-_EffectShader

or trying with multiple magic effects with shaders?

User avatar
Brittany Abner
 
Posts: 3401
Joined: Wed Oct 24, 2007 10:48 pm

Post » Sun Jan 04, 2015 8:57 pm

I was applying multiple spells to the player, each spell having its unique magic effect and associated EffectShader.

I'll try applying the shader directly with the Play function, and see if that allows for what I need it to do.

User avatar
Trish
 
Posts: 3332
Joined: Fri Feb 23, 2007 9:00 am

Post » Mon Jan 05, 2015 10:05 am

No, shaders still overwrite each other with your method.

I'm confused as to why the Play function even allows stacking, if you can only stack the exact same shader over itself... I can't really imagine many possible uses for that.

User avatar
Sunny Under
 
Posts: 3368
Joined: Wed Apr 11, 2007 5:31 pm


Return to V - Skyrim