In my blend file here, I'm trying to write a shader that uses a gradient to mix between transparency and the surface material.
So far, I've managed that. But when transparent, the object shows black faces in some areas, and only from certain angles.
It is important to note that these are not gradually black, or grey, faces. They are jet black and unshaded. This model was ripped via RenderDoc and was imported as a CSV.
Removing doubles does work, but it massively deteriorates my mesh, so unless I can select doubles, it's not an option.
It's nothing to do with the shaders themselves - setting the mesh to be exclusively a transparent shader still shows it.
Flipping/Recalculating normals has absolutely no effect.
Clearing custom split normal data does not have any effect.
I can only conclude that it's an issue with Z-Fighting.
Can anyone tell me how to absolve this? Or at least how to circumvent this and use a different method for gradually revealing / masking an object?