Unite nodes shaders.
authorRealBadAngel <maciej.kasatkin@o2.pl>
Wed, 14 May 2014 21:19:31 +0000 (23:19 +0200)
committerRealBadAngel <maciej.kasatkin@o2.pl>
Sun, 15 Jun 2014 03:40:33 +0000 (05:40 +0200)
commit6c98fd6658fcf7c0c676ee88f03e364c852e9f1b
tree01a6a17c00730bd2744a2394f36950ba83b10107
parent9ffa88b558498a139488679ef2ed8767c8540471
Unite nodes shaders.
Pass drawtype and material type to shaders.
Move shaders generation to startup only.
Allow assign shaders per tile.
Initial code to support water surface shader.
26 files changed:
client/shaders/alpha_shader/base.txt [deleted file]
client/shaders/alpha_shader/opengl_fragment.glsl [deleted file]
client/shaders/alpha_shader/opengl_vertex.glsl [deleted file]
client/shaders/leaves_shader/base.txt [deleted file]
client/shaders/leaves_shader/opengl_fragment.glsl [deleted file]
client/shaders/leaves_shader/opengl_vertex.glsl [deleted file]
client/shaders/liquids_shader/base.txt [deleted file]
client/shaders/liquids_shader/opengl_fragment.glsl [deleted file]
client/shaders/liquids_shader/opengl_vertex.glsl [deleted file]
client/shaders/nodes_shader/opengl_fragment.glsl [new file with mode: 0644]
client/shaders/nodes_shader/opengl_vertex.glsl [new file with mode: 0644]
client/shaders/plants_shader/base.txt [deleted file]
client/shaders/plants_shader/opengl_fragment.glsl [deleted file]
client/shaders/plants_shader/opengl_vertex.glsl [deleted file]
client/shaders/solids_shader/base.txt [deleted file]
client/shaders/solids_shader/opengl_fragment.glsl [deleted file]
client/shaders/solids_shader/opengl_vertex.glsl [deleted file]
client/shaders/water_surface_shader/opengl_fragment.glsl [new file with mode: 0644]
client/shaders/water_surface_shader/opengl_vertex.glsl [new file with mode: 0644]
src/client.cpp
src/mapblock_mesh.cpp
src/nodedef.cpp
src/nodedef.h
src/shader.cpp
src/shader.h
src/tile.h