Open lxw404 opened 12 months ago
This could be related to the mirror being forward rendered? Idk. Actually, try checking it out in a camera.
The toon material renders above PBS in a camera. The weird thing is, other materials such as any other PBS material, put in place of Xiexe with the same exact SortingOrder
render correctly (below the original PBS) in both normal and mirrors.
Seeking feedback from @Geenz.
Describe the bug?
Currently, if you utilize
SortingOrder
to stack aPBS_Metallic
orPBS_Specular
material, the order is handled incorrectly/inconsistently. This is revealed by looking at the stacked materials in a mirror.To Reproduce
SortingOrder
= 0SortingOrder
= -1PBS_Metallic
Material and apply it to the first meshXiexeToon
Material, change its color to something identifiable and apply it to the second meshThis example is shown here: resrec:///U-LuxKitty/R-B514308EADA659F808716D5E82E95BB4AD78EEF2512568DA7F91594FC5E14D2C
Observe that the results of sorting are completely different in the mirror.
Expected behavior
The sorting order should be applied correctly across contexts. Either the sort order is wrong in the normal rendering context, or it is wrong in the mirror context.
Screenshots
(No this is not the new
RenderMaterialOverride
)Resonite Version Number
2023.11.11.1231
What Platforms does this occur on?
Windows
What headset if any do you use?
Desktop, Valve Index
Log Files
PBS_Toon Sorting - 2023.11.11.1231 - 2023-11-11 19_40_33.log
Additional Context
Possibly related to: https://github.com/Yellow-Dog-Man/Resonite-Issues/issues/641
Reporters
LuxKitty