1. 02 Dec, 2020 3 commits
  2. 23 Aug, 2020 1 commit
  3. 30 May, 2020 1 commit
  4. 27 May, 2020 1 commit
  5. 19 Apr, 2020 2 commits
  6. 11 Apr, 2020 2 commits
  7. 07 Apr, 2020 1 commit
  8. 01 Apr, 2020 1 commit
  9. 29 Mar, 2020 1 commit
  10. 15 Mar, 2020 1 commit
  11. 18 Jan, 2020 2 commits
  12. 17 Jan, 2020 6 commits
  13. 09 Jan, 2020 2 commits
    • Mario's avatar
      Merge branch 'illwieckz/ge128' into 'master' · 82461d05
      Mario authored
      DarkPlaces does not support alphaFunc GT0 and uses GE128 instead
      
      See merge request !140
      82461d05
    • Thomas Debesse's avatar
      DarkPlaces does not support alphaFunc GT0 and uses GE128 instead · 6521df37
      Thomas Debesse authored
      By making this change, we ensure the materials look the same on DarkPlaces and
      other engines, even in the case it's wrong on DarkPlaces because Xonotic mappers
      now expect the wrong behavior.
      
      Darkplaces only supports one alphaFunc operation, it only reads the alphaFunc
      keyword and does not read the function name:
      
      https://gitlab.com/xonotic/darkplaces/blob/324a5329d33ef90df59e6488abce6433d90ac04c/model_shared.c#L1875-1876
      
      It then uses the GE128 operator unconditionally:
      
      https://gitlab.com/xonotic/darkplaces/blob/0ea8f691e05ea968bb8940942197fa627966ff99/render.h#L95
      
      People may silently introduce regressions in their textures designed for GT0
      by compressing them using a lossy picture format like Jpg.
      
      Xonotic texture known to trigger this bug (in xonotic-maps):
      
          models/desertfactory/textures/shaders/grass01.jpg
      
      Using GE128 hides Jpeg artifacts while it's possible a TGA version worked with GT0.
      
      Xonotic texture that may benefit from GT0 if supported (in xonotic-maps):
      
          models/desertfactory/textures/shaders/sign_ladder_dirty.jpg
      
      By storing this texture in lossless format and making sure the frame is pure
      black and the ladder is a bit less black than pure black, only the frame would
      be transparent.
      
      Unfortunately, after years of GE128 usagen displaying the texture with GT0
      operation would be a regression.
      
      Note: I also renamed some `alphafunc` to `alphaFunc` even if it was already GE128.
      6521df37
  14. 05 Jan, 2020 1 commit
  15. 11 Oct, 2019 2 commits
  16. 21 Sep, 2019 2 commits
  17. 19 Sep, 2019 2 commits
  18. 01 Sep, 2019 1 commit
  19. 06 Aug, 2019 1 commit
  20. 05 Aug, 2019 1 commit
  21. 03 Aug, 2019 3 commits
  22. 02 Aug, 2019 1 commit
  23. 24 Jul, 2019 1 commit
  24. 23 Jul, 2019 1 commit