@JhonKkk just to mention here - please treat this post a little as offtopic maybe
I belive Terrain is one of most important parts for many games (even some of 2d view ones).
im using PBR terrain(JME one but edited) with Texture arrays and Occlusion Parallax Mapping(Awesome Riccardo work):
https://library.jmonkeyengine.org/#!entry=16283%2F571e75d2-d9c6-4f3f-8b99-3c717bbf42bd
it would be cool to implement parallax occlusion mapping into PBR one while still having it working for required GLSL version.
Because for Array need #extension GL_EXT_texture_array : enable
that i remember requre GLSL330
while JME one starts from GLSL150 GLSL100
So skip this part to maintain GLSL backward compatibility.
Sadly because its very cool using:
TextureArray PhongTextures
TextureArray NormalmapTextures -LINEAR
TextureArray ParallaxmapTextures -LINEAR
in j3md, but we cant for stock one.
(tho if we would make one Terrain version for higher GLSL then why not)
But we could add Occlusion Parallax into JME Advanced PBR Terrain
This is GLSL110 GLSL150
compatible.
I can share what i have done in my shader tho its not perfect ofc.(tho i already shared in some topic before)
Blending part is most problematic for frames. But PhongTextures and NormalMaps are already blending there, so adding ParallaxmapTextures should not cause so big issue i guess. (and ofc using #ifdef should make it same fast if not using oc-parallax)
Im not sure how Tile Deferred work exactly, but maybe even it could be possible to Decide what textures should blend (instead blending 4+, or even 12 textures for each pixel)
You are much more experienced than me in Shaders there.
Its just personal wish i hope someday there would be perfect Terrain JME Stock shader out there.
Some previous screenshot i made:
img
here what is cool that can even use AO or moisture based on oc-parallax value:
img
here is what Riccardo had using (also looking cool):
img
It is used in many popular games (even now Starfield as i noticed) but also older ones like Hunt Showdown:
img
Ofc i can share current shader (tho i got AO and moisture addons to ao-parallax there)