Bas080 wrote:Looking at the code i would do it completely different now. Atm it requires textures for all smooth nodes. I would now use nodeboxes and a texture which can be "overlayed"(placed in-front of node with param2). What do you guys think is the best way to do this?
Inspired by your mod and the swamp mod I've been experimenting a bit with smooth transitions.
I've looked at the code of several mods and searched the dev wiki but haven't been able to find a sane way to do this for more than a couple of nodes. By that I mean: what I've done works, but it's way too slow (I created a ton of new nodes).
Could you give a small example, in pseudo-code, of how you'd do this with param2, now you're more experienced?