فهرست منبع

Update AdvancedPBRTerrain.j3md

Ryan McDonough 7 ماه پیش
والد
کامیت
a303999aa5
1فایلهای تغییر یافته به همراه8 افزوده شده و 0 حذف شده
  1. 8 0
      jme3-terrain/src/main/resources/Common/MatDefs/Terrain/AdvancedPBRTerrain.j3md

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

@@ -1,6 +1,7 @@
 MaterialDef AdvancedPBRTerrain {
 
     MaterialParameters {
+        Int BoundDrawBuffer
 
         Texture2D SunLightExposureMap
         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 {
         TextureArray NormalParallaxTextureArray -LINEAR
         TextureArray MetallicRoughnessAoEiTextureArray -LINEAR
 
+       // Specular-AA
+        Boolean UseSpecularAA : true
+        // 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.
+        Float SpecularAASigma
+        // clamping threshold,Use the slider to set a maximum value for the offset that HDRP subtracts from the smoothness value to reduce artifacts.
+        Float SpecularAAKappa
+
         Int AfflictionSplatScale : 8
         Float AfflictionRoughnessValue : 1.0
         Float AfflictionMetallicValue : 0.0