<html>
    <head>
      <base href="https://bugzilla.icculus.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:use.less01@gmail.com" title="James Canete <use.less01@gmail.com>"> <span class="fn">James Canete</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - OpenGL2: with r_dlightmode enabled (1-3) some multilayered textures are badly illuminated."
   href="https://bugzilla.icculus.org/show_bug.cgi?id=6058">bug 6058</a>
        <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>NEW
           </td>
           <td>ASSIGNED
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - OpenGL2: with r_dlightmode enabled (1-3) some multilayered textures are badly illuminated."
   href="https://bugzilla.icculus.org/show_bug.cgi?id=6058#c1">Comment # 1</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED --- - OpenGL2: with r_dlightmode enabled (1-3) some multilayered textures are badly illuminated."
   href="https://bugzilla.icculus.org/show_bug.cgi?id=6058">bug 6058</a>
              from <span class="vcard"><a class="email" href="mailto:use.less01@gmail.com" title="James Canete <use.less01@gmail.com>"> <span class="fn">James Canete</span></a>
</span></b>
        <pre>There isn't a quick fix for this one.

The problem is the multilayered textures.  r_dlightmode > 1 uses an additional
pass of additive blending to brighten textures, but this doesn't work with
multilayered textures.  The current behavior is to fallback to Q3's original
dynamic lighting, but the difference is obvious.

The solutions I can think of are:
- implement dynamic lighting in the lightall glsl shader.  This would increase
the number of glsl shaders compiled (something I've been trying to lower) but
is the simplest fix, and would remove a (small) rendering pass.
- reimplement the renderer as deferred.  I'd like to avoid this, as it is a
huge job, and will probably break a lot of shaders for a long time until
everything settles.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>