unity-renderer
unity-renderer copied to clipboard
[Unity 2021] Transparency not working on WebGL
Check branch feat/unity-2021 The problem was found here #2602
Transparencies rendering issue [Happens only in build] This can be seen in Genesis Plaza's waterfall pipe that takes to the main hall, as well as in some user's wearables:
It seems the alpha cutoff is not working correctly, there is no error in the shader while building.
Cloned feat/unity-2021 and created branch https://github.com/decentraland/unity-renderer/tree/feat/unity-2021-shadersCompatibility.
Checking shaders and will modify accordingly to make them compatible with WebGL.
Progress :
Created a modified --> DCL/Universal Render Pipeline/LitMod shader and fixed Alpha Cutoff .
Fixed Alpha Clip
Transparency is fixed , we came up to a unity bug , not setting up the _ALPHATEST_ON on the material during the version upgrade , once we use a 2021 material with the shader it works fine.
Cleaned up testing area and documented / cleaned up Lit shader.
@AjimenezDCL what is the status?