Changed normal of the ground to GL, Now the normal mapping is correct.

This commit is contained in:
2026-01-04 16:11:18 +01:00
parent 296aad3f84
commit b417f016af
20 changed files with 985 additions and 254 deletions

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 380 KiB

View File

Binary file not shown.

View File

@@ -0,0 +1,36 @@
<?xml version="1.0"?>
<materialx version="1.39" fileprefix="./">
<open_pbr_surface type="surfaceshader" ypos="-1.879310" name="PavingStones046_2K_JPG_OpenPbrSurface" xpos="6.159420">
<input type="color3" name="base_color" nodename="PavingStones046_2K_JPG_Color" />
<input type="vector3" name="geometry_normal" nodename="NormalMap" />
<input type="float" name="specular_roughness" nodename="PavingStones046_2K_JPG_Roughness" />
</open_pbr_surface>
<surfacematerial type="material" ypos="0.000000" name="PavingStones046_2K_JPG" xpos="8.695652">
<input type="surfaceshader" name="surfaceshader" nodename="PavingStones046_2K_JPG_OpenPbrSurface" />
<input type="displacementshader" name="displacementshader" nodename="displacement" />
</surfacematerial>
<tiledimage type="color3" ypos="-3.103448" name="PavingStones046_2K_JPG_Color" xpos="3.623188">
<input type="filename" name="file" colorspace="srgb_texture" value="PavingStones046_2K-JPG_Color.jpg" />
<input type="vector2" name="uvtiling" value="1.0, 1.0" />
</tiledimage>
<tiledimage type="float" ypos="5.163793" name="PavingStones046_2K_JPG_Displacement" xpos="3.623188">
<input type="filename" name="file" value="PavingStones046_2K-JPG_Displacement.jpg" />
<input type="vector2" name="uvtiling" value="1.0, 1.0" />
</tiledimage>
<displacement type="displacementshader" ypos="1.879310" name="displacement" xpos="6.159420">
<input type="float" name="displacement" nodename="PavingStones046_2K_JPG_Displacement" />
<input type="float" name="scale" value="1.0" />
</displacement>
<tiledimage type="vector3" ypos="0.879310" name="PavingStones046_2K_JPG_NormalGL" xpos="1.086957">
<input type="filename" name="file" value="PavingStones046_2K-JPG_NormalGL.jpg" />
<input type="vector2" name="uvtiling" value="1.0, 1.0" />
</tiledimage>
<normalmap type="vector3" ypos="3.586207" name="NormalMap" xpos="3.623188">
<input type="vector3" name="in" nodename="PavingStones046_2K_JPG_NormalGL" />
<input type="float" name="scale" value="1.0" />
</normalmap>
<tiledimage type="float" ypos="-0.413793" name="PavingStones046_2K_JPG_Roughness" xpos="3.623188">
<input type="filename" name="file" value="PavingStones046_2K-JPG_Roughness.jpg" />
<input type="vector2" name="uvtiling" value="1.0, 1.0" />
</tiledimage>
</materialx>

View File

@@ -0,0 +1,19 @@
[gd_resource type="StandardMaterial3D" load_steps=6 format=3 uid="acg_0wl6yudb"]
[ext_resource type="Texture2D" uid="uid://acg_qwdu613c" id="Color" path="./PavingStones046_2K-JPG_Color.jpg"]
[ext_resource type="Texture2D" uid="uid://acg_l5d9bi73" id="AmbientOcclusion" path="./PavingStones046_2K-JPG_AmbientOcclusion.jpg"]
[ext_resource type="Texture2D" uid="uid://acg_ad0vlmbp" id="Displacement" path="./PavingStones046_2K-JPG_Displacement.jpg"]
[ext_resource type="Texture2D" uid="uid://acg_iu7w0s8l" id="Roughness" path="./PavingStones046_2K-JPG_Roughness.jpg"]
[ext_resource type="Texture2D" uid="uid://acg_nby48io6" id="NormalGL" path="./PavingStones046_2K-JPG_NormalGL.jpg"]
[resource]
albedo_texture = ExtResource("Color")
ao_enabled = true
ao_texture = ExtResource("AmbientOcclusion")
ao_texture_channel = 4
roughness_texture = ExtResource("Roughness")
roughness_texture_channel = 4
normal_texture = ExtResource("NormalGL")
normal_enabled = true
heightmap_texture = ExtResource("Displacement")
heightmap_scale = 1.0
heightmap_enabled = true

View File

Binary file not shown.

View File

Binary file not shown.

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.7 MiB

View File

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 MiB