From 33c3e17cbe00f96ff1b6371a62489436973c173f Mon Sep 17 00:00:00 2001 From: Anders Pistol Date: Thu, 29 Feb 2024 21:36:01 +0100 Subject: [PATCH] Traktor: Fixed detail normals in terrain shader. --- .../Terrain/Shaders/Templates/Terrain.xdi | 145 +++++++++++++++--- 1 file changed, 120 insertions(+), 25 deletions(-) diff --git a/data/Source/System/Terrain/Terrain/Shaders/Templates/Terrain.xdi b/data/Source/System/Terrain/Terrain/Shaders/Templates/Terrain.xdi index 40a682cb32..ca83bdf61a 100644 --- a/data/Source/System/Terrain/Terrain/Shaders/Templates/Terrain.xdi +++ b/data/Source/System/Terrain/Terrain/Shaders/Templates/Terrain.xdi @@ -277,8 +277,8 @@ Generated texture from surface cache. {180FE1F2-614A-514D-8E2F-ED363C0245BA} - -152 - -677 + -154 + -703 @@ -316,8 +316,8 @@ Generated texture from surface cache. {62A562A9-FB71-EB42-80E7-98A5AF9F5287} - -356 - -632 + -358 + -658 World_View Matrix @@ -428,8 +428,8 @@ Generated texture from surface cache. {31430D09-7ADB-554F-8DD8-CB0CD84B8194} - 2375 - 255 + 2390 + 292 L_ViewPosition @@ -437,8 +437,8 @@ Generated texture from surface cache. {010F4795-3CF2-0A48-A9E8-E5EF67131EE2} - 2375 - 212 + 2406 + 250 L_ViewNormal @@ -497,8 +497,8 @@ Generated texture from surface cache. {437C2A4C-5C5F-AA41-A372-380D3B91A86C} - -882 - -706 + -857 + -661 L_SurfaceNormal @@ -549,16 +549,16 @@ Generated texture from surface cache. {5FF4BEC5-00F2-5A46-AD00-1616E1E52C57} - -896 - -652 + -890 + -590 {EFCE9FC4-5E73-3C4E-B763-5AEA373E2191} - -639 - -691 + -605 + -625 @@ -583,8 +583,8 @@ Generated texture from surface cache. {36D3D25E-A79B-9D4C-B978-174DC2DAFD43} - 133 - -688 + 109 + -665 L_ViewNormal @@ -716,8 +716,8 @@ Generated texture from surface cache. {55159F6D-B7AC-694B-AE48-EDDEB427B7EF} - 2343 - 128 + 2358 + 126 L_SurfaceRoughness @@ -725,8 +725,8 @@ Generated texture from surface cache. {CCE8848A-8742-D24D-B399-FC0D3C95B008} - 2369 - 171 + 2400 + 168 0.25 @@ -734,7 +734,7 @@ Generated texture from surface cache. {FF129A59-01E5-AC44-9BAD-9FDC58095309} - 2385 + 2416 44 0 @@ -914,8 +914,8 @@ $Output = vec4(mix(t, b, f), 0.0f); {AC111C0C-7361-B945-9086-55316955BDF2} - 2415 - 85 + 2446 + 84 L_Cut @@ -1112,8 +1112,8 @@ $Output = gl_DrawID; {A550A9D4-6122-614B-A8D9-AA31FE164B72} - -376 - -709 + -378 + -735 @@ -1322,6 +1322,51 @@ $Output = gl_DrawID; + + {72FAE0C4-091C-450D-BA1F-031A7CB948C0} + + + 2374 + 208 + + L_ViewDetailNormal + + + {487A8D55-8859-4F13-BC41-CF56C048AC0D} + + + 106 + -554 + + L_ViewDetailNormal + + + {29EBBD88-E595-47E9-BAD2-D9C6EA2BD354} + + + -372 + -619 + + + + {E67F493C-9E67-4C07-BA70-15DED108BE7E} + + + -359 + -548 + + World_View + Matrix + Frame + + + {DD9EDFAC-3B65-4A37-A9D6-C3FD0E39A0E5} + + + -155 + -593 + + @@ -2424,6 +2469,56 @@ $Output = gl_DrawID; {92AA3735-BB4C-4541-81DA-AC500930B2E6} + + + + {84BF3C26-64A7-4032-B775-1D369052B243} + + + + {65D9215E-45E9-BA48-8F10-4BCC7C576CC6} + + + + + + {1E6639B6-8B58-4694-99E7-C058E3583522} + + + + {71A0310C-3928-44C3-8D4F-7D9AFF9EAE70} + + + + + + {8591EE56-8A3E-41CF-8E98-8F8DB26AABDC} + + + + {345BDBFA-3326-40BF-B9DE-8ECA78A3EEF4} + + + + + + {70C35B91-1C36-454C-98EC-7514AACF73C8} + + + + {FE413452-19EB-4DC9-B724-2984FA17CC20} + + + + + + {70C35B91-1C36-454C-98EC-7514AACF73C8} + + + + {11585EBC-914D-4E6D-A10D-D01694FF9840} + +