Parcourir la source

Refactored PBR Terrain to use new for-loops. Fix #1785 (#1901)

Drastically reduced code by utilizing JME's new potential for define-compatible for-loops in shaders. Also cleaned up some other little things like indentations, comments, and code placement so that the code is much more organized and easier to understand.
Ryan McDonough il y a 2 ans
Parent
commit
0d6d6d9568
1 fichiers modifiés avec 195 ajouts et 636 suppressions
  1. 195 636
      jme3-terrain/src/main/resources/Common/MatDefs/Terrain/PBRTerrain.frag

Fichier diff supprimé car celui-ci est trop grand
+ 195 - 636
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/PBRTerrain.frag


Certains fichiers n'ont pas été affichés car il y a eu trop de fichiers modifiés dans ce diff