Skip to content

Commit a303999

Browse files
authored
Update AdvancedPBRTerrain.j3md
1 parent db7a848 commit a303999

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

jme3-terrain/src/main/resources/Common/MatDefs/Terrain/AdvancedPBRTerrain.j3md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
MaterialDef AdvancedPBRTerrain {
22

33
MaterialParameters {
4+
Int BoundDrawBuffer
45

56
Texture2D SunLightExposureMap
67
Boolean UseVertexColorsAsSunIntensity //set true to make the vertex color's R channel how exposed a vertex is to the sun
@@ -15,6 +16,13 @@ MaterialDef AdvancedPBRTerrain {
1516
TextureArray NormalParallaxTextureArray -LINEAR
1617
TextureArray MetallicRoughnessAoEiTextureArray -LINEAR
1718

19+
// Specular-AA
20+
Boolean UseSpecularAA : true
21+
// screen space variance,Use the slider to set the strength of the geometric specular anti-aliasing effect between 0 and 1. Higher values produce a blurrier result with less aliasing.
22+
Float SpecularAASigma
23+
// clamping threshold,Use the slider to set a maximum value for the offset that HDRP subtracts from the smoothness value to reduce artifacts.
24+
Float SpecularAAKappa
25+
1826
Int AfflictionSplatScale : 8
1927
Float AfflictionRoughnessValue : 1.0
2028
Float AfflictionMetallicValue : 0.0

0 commit comments

Comments
 (0)