Dishonered Dark Vision

Does anyone have any idea how to draw field of view cones like Dishonored Dark Vision? It doesn’t look like a cone but a plane face the camera with the outline of a cone.

It’s probably still a cone, just with a shader akin to Unlit/Transparent, and the right texture.

OK. So…

  1. Cone mesh with a texture where the alpha fades from say .8 to 0 so the start of the cone at the NPC’s face is less transparent then the base of the cone.

  2. The flare at the eyes of the NPC looks cool and is probably hiding the base of the cone model.

  3. Texture is unlit and transparent.

What I don’t get is if the material is double sided or not? You can see the inside of the cone if you are looking direction at the player. Also, if the material is double sided, how do you not see the inside of the cone when you are outside of the cone? Would there be some kind of depth test?

It’s probably not double sided - just render the inside of the cone.