mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 11:10:47 +00:00
Tie mirror map reflections to specular map texels.
git-svn-id: https://svn.eduke32.com/eduke32@1282 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
33d75c0cc7
commit
13243ffeae
1 changed files with 1 additions and 1 deletions
|
@ -301,7 +301,7 @@ _prprogrambit prprogrambits[PR_BIT_COUNT] = {
|
|||
" mirrorCoords += 100.0 * (normalTexel.rg - 0.5);\n"
|
||||
" }\n"
|
||||
" mirrorTexel = texture2DRect(mirrorMap, mirrorCoords);\n"
|
||||
" result = vec4((result.rgb * result.a) + (mirrorTexel.rgb * (1.0 - result.a)), result.a);\n"
|
||||
" result = vec4((result.rgb * (1.0 - specTexel.a)) + (mirrorTexel.rgb * specTexel.rgb * specTexel.a), result.a);\n"
|
||||
"\n",
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue