Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418)
authorParamat <paramat@users.noreply.github.com>
Wed, 27 Mar 2019 00:18:43 +0000 (00:18 +0000)
committerGitHub <noreply@github.com>
Wed, 27 Mar 2019 00:18:43 +0000 (00:18 +0000)
commit42e1a127140965cac1be6e51e48192e341c2a29e
tree9c1d824e6b70838a13afa4870f219108d4d97899
parent5e7662ca168b47ed3e81901d53bff2eb712f571c
Require 'waving = 3' in a nodedef to apply the liquid waving shader (#8418)

Makes the liquid waving shader per-nodedef like waving leaves/plants,
instead of being applied to all liquids.
Like the waving leaves/plants shaders, the liquid waving shader can
also be applied to meshes and nodeboxes.

Derived from a PR by t0ny2.
builtin/mainmenu/tab_settings.lua
client/shaders/nodes_shader/opengl_vertex.glsl
doc/lua_api.txt
src/client/shader.cpp
src/client/tile.h
src/nodedef.cpp