mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-16 01:11:44 +00:00
Unbreak specular maps (were broken because of mirror unbreaking).
git-svn-id: https://svn.eduke32.com/eduke32@1383 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
b1f358de6f
commit
747a242b80
1 changed files with 1 additions and 1 deletions
|
@ -492,7 +492,7 @@ _prprogrambit prprogrambits[PR_BIT_COUNT] = {
|
|||
" gl_LightSource[0].diffuse.rgb * lightAttenuation * spotAttenuation;\n"
|
||||
" result += vec4(lightDiffuse * diffuseTexel.a * diffuseTexel.rgb * NdotL, 0.0);\n"
|
||||
"\n"
|
||||
" if (isSpecularMapped == 1)\n"
|
||||
" if (isSpecularMapped == 0)\n"
|
||||
" specTexel.rgb = diffuseTexel.rgb * diffuseTexel.a;\n"
|
||||
"\n"
|
||||
" lightSpecular = pow( max(dot(R, E), 0.0), specularMaterial.x * specTexel.a) * specularMaterial.y;\n"
|
||||
|
|
Loading…
Reference in a new issue