Lavarise mode have missing shader.
Looks like it is working alright but shader isnt working thus lava is invisible.
Lavarise modoption doesn't use an actual shader, it just draws a textured plane.
replay of invisible lava http://zero-k.info/Battles/Detail/384107
In this commit https://github.com/ZeroK-RTS/Zero-K/commit/0b30472feba0745a5731516c3f22ebb03867bcf0 the whole graphical part of gadget was disabled (commented out) so nothing is drawn.
It is not missing shaders. The drawing-part was commented out with comment : "-- Unsynced part should be moved to widget"
but CTR+F "lava" finds no widget. https://github.com/ZeroK-RTS/Zero-K/blob/0b30472feba0745a5731516c3f22ebb03867bcf0/LuaRules/Gadgets/lavarise.lua#L150
Imo it should not be widget because the graphical effect is too important for a player to accidently disable. It is not like fog or rain widgets, it has impact on gameplay by killing units. Imo remove this gadget, it in this state it is no use and mostly played worse than special maps.
Widgets can be hidden from the f11 menu, so that's not really a reason to discard the idea. There is no reason to sync drawing code, only to sync the data used as input for the drawing code.
The gadget was not removed because it was suggested that in the future it could be made into a gameside API for maps who want to have lava (like hotstepper or Zed). Maps would then supply their own rendering.
Whether that's a sane idea is something to consider.
Whether that's a sane idea is something to consider.
imo: no.
Ditto but let's hear the others.