Permalink
Browse files

Correctly scale offset in depthtile2_fp.glsl

We are indexing into a texture that is size 1.0 / (4.0 * r_FBuffScale) so scale the offset accordingly.
  • Loading branch information...
1 parent 4f7830e commit 1b25db1f9d3fdb00a0fe6620d901d3470b880a6c @cmf028 cmf028 committed Mar 12, 2016
Showing with 146 additions and 145 deletions.
  1. +145 −144 daemon/src/engine/renderer/shaders.cpp
  2. +1 −1 main/glsl/depthtile2_fp.glsl
Oops, something went wrong.

0 comments on commit 1b25db1

Please sign in to comment.