jgltut icon indicating copy to clipboard operation
jgltut copied to clipboard

Issues on High DPI Displays (e.g. Retina)

Open integeruser opened this issue 7 years ago • 0 comments

Some tutorials are not rendered correctly on High DPI displays, since these displays were not supported in the original project. Examples of what should be changed to fix this:

  • gl_FragCoord.y / 500.0f in src/integeruser/jgltut/tut02/data/FragPosition.frag
  • persMatrix.scale(2.0f / w, -2.0f / h, 1.0f); in src/integeruser/jgltut/tut16/GammaRamp.java

integeruser avatar Nov 06 '16 11:11 integeruser