Sfoglia il codice sorgente

Refactored Advanced PBR Terrain to use new for-loops (#1904)

* Refactored Advanced PBR Terrain to use new for-loops

Similar to my recent pull request doing the same for the base PbrTerrain shader (https://github.com/jMonkeyEngine/jmonkeyengine/pull/1901) this PR also adds for-loop support to the advanced version of the pbr shader that uses texture arrays

* Update PBRTerrain.frag

* Update AdvancedPBRTerrain.frag
Ryan McDonough 2 anni fa
parent
commit
58c137f597

File diff suppressed because it is too large
+ 79 - 894
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/AdvancedPBRTerrain.frag


+ 1 - 1
jme3-terrain/src/main/resources/Common/MatDefs/Terrain/PBRTerrain.frag

@@ -2,7 +2,7 @@
 #import "Common/ShaderLib/PBR.glsllib"
 #import "Common/ShaderLib/Parallax.glsllib"
 #import "Common/ShaderLib/Lighting.glsllib"
-#import "MatDefs/ShaderLib/AfflictionLib.glsllib"
+#import "Common/MatDefs/Terrain/AfflictionLib.glsllib"
 
 varying vec3 wPosition;
 varying vec3 vNormal;

Some files were not shown because too many files changed in this diff