LongFeiaot Posted June 18, 2016 Share Posted June 18, 2016 (edited) When I read fx.lua, I found the function SetBloomEffectHandle , and then I found the component bloomer.I guess they are about fx spawner. I am trying to make strong vision effect for my mod , so that I need an easy way to control the spawning of fx. Does anyone know that how to use the function SetBloomEffectHandle and the component bloomer? Edited June 20, 2016 by LongFeiaot Link to comment Share on other sites More sharing options...
DarkXero Posted June 19, 2016 Share Posted June 19, 2016 This is what bloom is: https://en.wikipedia.org/wiki/Bloom_(shader_effect) This is what bloom looks like: http://imgur.com/oDVwtUY How do you manipulate those effects? With SetBloomEffectHandle, you choose the shader you want from the shaders folder. "bloomer" is the component that uses SetBloomEffectHandle to set up the different blooms. These are the function WX-78 uses: -- enable bloom -- source name, fx, priority -- if you enable multiple blooms, you will see the one with highest priority inst.components.bloomer:PushBloom("overcharge", "shaders/anim.ksh", 50) -- disable bloom -- source name inst.components.bloomer:PopBloom("overcharge") Link to comment Share on other sites More sharing options...
LongFeiaot Posted June 20, 2016 Author Share Posted June 20, 2016 Great answer .Thanks a lot. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now