[quake3-commits] [ioquake/ioq3] c787cf: Fix stencil shadows not drawing if has 500 or more...

Zack Middleton zturtleman at gmail.com
Sun Nov 16 22:29:47 EST 2014


  Branch: refs/heads/master
  Home:   https://github.com/ioquake/ioq3
  Commit: c787cf3aef0daa32478f90a5f43fb794ff6b5313
      https://github.com/ioquake/ioq3/commit/c787cf3aef0daa32478f90a5f43fb794ff6b5313
  Author: Zack Middleton <zturtleman at gmail.com>
  Date:   2014-11-16 (Sun, 16 Nov 2014)

  Changed paths:
    M code/renderergl1/tr_shadows.c
    M code/renderergl2/tr_shadows.c

  Log Message:
  -----------
  Fix stencil shadows not drawing if has 500 or more vertexes

Stencil shadow is not drawn if a mesh, or multiple meshes with the same
entity and shader, have more than 500 vertexes. The issue is caused by storing
the projected positions in the tess vertex buffer. Use a new array instead.




More information about the quake3-commits mailing list