Spruce up the non-ALM stars too.

meow-7.2.2
Graham Linden 2018-09-13 22:08:06 +01:00
parent a21fa8664b
commit 2f9d08f48d
2 changed files with 4 additions and 4 deletions

View File

@ -38,7 +38,9 @@ VARYING vec2 vary_texcoord0;
void main()
{
vec4 color = vertex_color*texture2D(diffuseMap, vary_texcoord0.xy);
color.a *= custom_alpha;
vec4 color = texture2D(diffuseMap, vary_texcoord0.xy);
color.rgb = pow(color.rgb, vec3(0.45));
color.rgb *= vertex_color.rgb;
color.a *= max(custom_alpha, vertex_color.a);
frag_color = color;
}

View File

@ -56,8 +56,6 @@
#include "lltrace.h"
#include "llfasttimer.h"
#pragma optimize("", off)
#undef min
#undef max