16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 05:49:19 +02:00

material changes, shader params, texture binding changes, more changes, ...

This commit is contained in:
milek7
2018-07-18 21:53:12 +02:00
parent a1d11cb03b
commit ee16821509
12 changed files with 486 additions and 165 deletions

View File

@@ -12,6 +12,10 @@ uniform sampler2D tex1;
#texture (tex2, 1, RGB)
uniform sampler2D tex2;
#param(color, 0, 0, 1, one)
#param(color2, 0, 1, 1, zero)
#param(color3, 0, 2, 1, one)
#include <common>
vec3 apply_fog(vec3 color)