AmplifyCreations / AmplifyShaderEditor-Feedback

4 stars 0 forks source link

HDRP 15x 2023.1.0 decal error #293

Closed Dawie3565 closed 7 months ago

Dawie3565 commented 7 months ago

Error is found when open shader in 15x 2023.1.0 (15.0.6)

Error undeclared identifier 'ApplyDecalToSurfaceNormal'

Investigation finds that the decal code in 2023.1.0 is based off unity 14x core <=2022.3.6 will investigate and update for Unity api changes.

Dawie3565 commented 7 months ago

--- HDRP Lit/Fabric fixed Decal Error in 15x 2023.1.0

Note for user florianalexandru05 A shader compiled in 2023.1.0 will not work in 2023.1.1 or higher due to unity changes starting in 2023.1.1 As this version is a Unity pre release Tech Stream its is strong recommend you consider work in 2023.1.1 or higher in 15x or you may need multiple shaders to support the full 15x cycle

Dawie3565 commented 7 months ago

attached patch for HDRP 2023.1.0

HDRP 15x.zip