<html>
    <head>
      <base href="https://bugzilla.icculus.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - OpenGL2: Partially black shaders in q3dm0"
   href="https://bugzilla.icculus.org/show_bug.cgi?id=5991">5991</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>OpenGL2: Partially black shaders in q3dm0
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>ioquake3
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>GIT MASTER
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P3
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Video
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>zachary@ioquake.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>ZTurtleMan@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>quake3-bugzilla@icculus.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=3367" name="attach_3367" title="Screenshot of black monitor and blood.">attachment 3367</a> <a href="attachment.cgi?id=3367&action=edit" title="Screenshot of black monitor and blood.">[details]</a></span>
Screenshot of black monitor and blood.

Some of the shaders in q3dm0 are partially black in OpenGL2 renderer when r_hdr
is 1 (the default). Setting r_hdr to 0 fixes the issues.

Broken shaders (monitors, blood pool):
textures/base_wall/comp3
textures/base_wall/comp3b_dark
textures/base_wall/comp3c
textures/base_floor/diamond2cspot

Working monitors (on left and right sides of pillar with mirror):
textures/base_wall/medal_impressive
textures/base_wall/q3tourneyscreen

See baseq3/pak0.pk3/scripts/base_wall.shader and base_floor.shader

I think issue is related to "blendFunc GL_DST_COLOR GL_ONE_MINUS_DST_ALPHA". I
haven't tested if it's specific to $lightmap stages.</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>