Selaa lähdekoodia

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 2 vuotta sitten
vanhempi
commit
0d6d6d9568
1 muutettua tiedostoa jossa 195 lisäystä ja 636 poistoa
  1. 195 636
      jme3-terrain/src/main/resources/Common/MatDefs/Terrain/PBRTerrain.frag

Tiedoston diff-näkymää rajattu, sillä se on liian suuri
+ 195 - 636
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/PBRTerrain.frag


Kaikkia tiedostoja ei voida näyttää, sillä liian monta tiedostoa muuttui tässä diffissä