Plane / Decal Flashes With Player / Camera Movement

i am instantiating decal prefabs which are just planes using

Instantiate(DecalSystem.Prefab, Info.point, Quaternion.FromToRotation(Vector3.forward, Info.normal))

(Info is the RaycastHit variable)

which works perfectly apart from when i start moving round as they start to flash / flicker and sometimes dissapear

You are suffering from Z fighting (the Z of two objects is almost or exactly the same and is the same as far as the depth buffer is concerned).

You have two choices:

  • Move the decal object further off the surface (you have to do this if it is actually on the surface)
  • Reduce the far clip plane of your camera and increase the near clip plane which provides for higher accuracy.