unstoppable colorization
Posted: Fri Jun 16, 2017 12:50 pm
\tome\mod\class\Player.lua:460
look at 0 value here {1,0.2,0,1}
which is meant to "clear" that value i think, but instead it just ignored and kept from previous call
it can lead to some unexpected screen colorization result
for example if you use stealth and unstoppable talents together (or invisibility and unstoppable) screen will become somewhat greenish
i guess there is some bug in setUniform
i've tried to change 0 to 0.1 (or 0.01) and it seems fixes the problem
Code: Select all
elseif self:attr("unstoppable") then game.fbo_shader:setUniform("colorize", {1,0.2,0,1})
which is meant to "clear" that value i think, but instead it just ignored and kept from previous call
it can lead to some unexpected screen colorization result
for example if you use stealth and unstoppable talents together (or invisibility and unstoppable) screen will become somewhat greenish
i guess there is some bug in setUniform
i've tried to change 0 to 0.1 (or 0.01) and it seems fixes the problem