Fuffles Posted December 31, 2020 Share Posted December 31, 2020 It has come recently to my knowledge that Animations dont have a way to run custom shaders. It is available for the ImageWidgets, why not give it to anims too? I have so many mod projects that I simply struggle with resource-wise because I cant apply color cube shaders or other custom shaders I've written and have to make the effects as seperate builds. The Ghost Haunted effect is already a shader and it works fine on anims so it has to be possible, right? Link to comment https://forums.kleientertainment.com/forums/topic/125577-add-shaders-for-animstates/ Share on other sites More sharing options...
Hornete Posted December 31, 2020 Share Posted December 31, 2020 Just now, Fuffles said: It has come recently to my knowledge that Animations dont have a way to run custom shaders. It is available for the ImageWidgets, why not give it to anims too? I have so many mod projects that I simply struggle with resource-wise because I cant apply color cube shaders or other custom shaders I've written and have to make the effects as seperate builds. The Ghost Haunted effect is already a shader and it works fine on anims so it has to be possible, right? There is a way to run custom shaders on AnimStates though? Or maybe i'm misunderstanding. inst.AnimState:SetBloomEffectHandle("shadername.ksh") I've been able to use SetBloomEffectHandle perfectly fine for my custom shaders in the past. Link to comment https://forums.kleientertainment.com/forums/topic/125577-add-shaders-for-animstates/#findComment-1411903 Share on other sites More sharing options...
Fuffles Posted December 31, 2020 Author Share Posted December 31, 2020 2 hours ago, Hornete said: There is a way to run custom shaders on AnimStates though? Or maybe i'm misunderstanding. inst.AnimState:SetBloomEffectHandle("shadername.ksh") I've been able to use SetBloomEffectHandle perfectly fine for my custom shaders in the past. Wouldnt this only work when bloom is on though? Either way it still feels more like a hackier way rather than just adding what is already present in DS. I recall DS having SetEffect and SetEffectParams as AnimState args, why is it not present in DST though? Link to comment https://forums.kleientertainment.com/forums/topic/125577-add-shaders-for-animstates/#findComment-1411927 Share on other sites More sharing options...
Hornete Posted December 31, 2020 Share Posted December 31, 2020 15 minutes ago, Fuffles said: Wouldnt this only work when bloom is on though? This is how bloom is applied, so no. Youd only be able to apply one shader at a time to AnimState though, so you cant have the games bloom shader and your own shader on the same AnimState at the same time. Link to comment https://forums.kleientertainment.com/forums/topic/125577-add-shaders-for-animstates/#findComment-1411931 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.
Please be aware that the content of this thread may be outdated and no longer applicable.