[1643] Toon Standard has sparkling NaN issues when no gloss map is specified
tracked
Davilos
In a previous bug report (https://feedback.vrchat.com/open-beta/p/sdk-381-beta4-toon-standard-has-flickering-nans-on-mobile), I mentioned that the Toon Standard shader has issues with NaNs / intense areas of specular flickering around the edges of meshes when specular is enabled and reflectance is above 0.
This issue has been resolved for materials that have gloss maps secified. Pi stated in the official Discord that this was achieved by multiplying the reflectance by the gloss map. However, if no gloss map is present, the flickering issue reveals itself once more.
In the previous post, I shared a gif of a flower on the side of my avatar's head sparkling. As of the latest open beta using the latest build of the shader, it still does so as it has no gloss map specified. However, the rest of the avatar has no more sparkling. This had been an issue on the ears and is no longer a problem since that material does have a gloss map specified.
Log In
Joltsie
Adding my feedback into this again as I'm also having severe flickering/highlighting issues with specular highlights still.
Easy steps to reproduce without external assets:
- Create a new avatar using the VRC Avatar SDK Robot Avatar Example
- Create a new Material, selecting Toon Standard and apply it to both material slots
- Enable the specular tab and leave everything else at default.
- Upload avatar
- Easiest to see in dark environments with contrasting light elements and baked reflection probes. The example I'm using is wrld_02e1feb9-f2d2-483b-89cf-b9f6bf23bf33
I do also want to specify that this behavior is still happening even for materials that do have a gloss map specified in SDK 3.8.1
Edit: Alright, after unhealthy amounts of perseverance, I've managed to find a solution and likely culprit. Having 'Use Normal Map' enabled seemingly resolves the issue; even without having any actual normal map applied. Guessing it's some sort of math issue in the specular model.
StormRel
tracked