aboutsummaryrefslogtreecommitdiff
path: root/src/client/render/pageflip.h
diff options
context:
space:
0 files changed, 0 insertions, 0 deletions
pecular = pow(clamp(dot(reflect(L, bump.xyz), yawVec), 0.0, 1.0), 1.0); float diffuse = dot(yawVec, bump.xyz); vec3 color = (1.1 * diffuse + 0.05 * height + 0.5 * specular) * base.rgb; vec4 col = vec4(color.rgb, base.a); col *= gl_Color; gl_FragColor = vec4(col.rgb, base.a); }