Hey!

I riped caustics from mystymood demo terrain shader, trying to implement it into the shader pipeline I'm currently using. I got it working for models (almost the same way as it works in mystymood), but trying to understand how to get it working for level blocks. Problem is, that it uses my->skill41-44, so I can't set them for level blocks.. Maybe using something like mtl.skill1-skill4 ?

As I'm not good in shaders, I got pretty messed up with those vecSkill5 etc... vecSkill.x, y, xy, w, z and other shit.

Thank you in advance.



Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung