Double Sided Material problems with current SpatialMaterial setup

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By vbs

I have a demo project download and noticed it has an issue with what should be a double sided texture, but it is processing the backside texture in the wrong order. I’m not a shader expert, but I’d be interested in pointing this out as a bug, or perhaps get more information as to how it can be fixed. It seems to me it “should just work”.

See basketball net material in attached image: https://imgur.com/TL2YGdG
Attached image example

:bust_in_silhouette: Reply From: Calinou

Try enabling Use Alpha Scissor on the material, which will make it use using alpha testing instead of alpha blending. Alpha blending is notoriously difficult to handle when you have multiple overlapping surfaces, which is why it’s recommended to use alpha testing in those cases.

If the scissor is cutting too much from the textures, try decreasing the Alpha Scissor Threshold value.