minor fixes

This commit is contained in:
serk 2017-01-21 23:39:10 +01:00
parent 0b4a5f21d3
commit 5f4c9b7289

View file

@ -3,7 +3,7 @@ uniform float type;
uniform sampler2D texture; uniform sampler2D texture;
void main(void) { void main(void) {
//transparencia entre 100 y 50 //transparencia entre 200 y 75
float transpa = max (sin(time*5.)*200., 75.)*gl_TexCoord[0].y; float transpa = max (sin(time*5.)*200., 75.)*gl_TexCoord[0].y;
// vec4 color = vec4 (246.,111.,231.,transpa)/255.; // vec4 color = vec4 (246.,111.,231.,transpa)/255.;
// if (blue) color = vec4(0.,153.,253.,transpa)/255.; // if (blue) color = vec4(0.,153.,253.,transpa)/255.;