- Home /
Is it possible to create a Mesh that masks Sprites without using the LWRP's stencil feature?
Im creating a 2d topdown shooter where the enemies are only visible inside the line of sight of the player (represented as a mesh). The rest of the screen is covered in a dark fog present everywhere but within the line of sight. Ive been achieving this with a custom forward renderer and the light weight render pipeline(stencil). But since im planing on adding the 2d lights which require a 2d renderer im running into a problem since a camera can only have one renderer.
Thanks in advance
Your answer
Follow this Question
Related Questions
How to use Stencil shaders alongside Sprite Masks in 2D games? 0 Answers
plz let me know how to use sprite mask? 0 Answers
How would I use the depth-buffer data of one object for a different object 0 Answers
Are Masked Sprites and Stencil Buffers in Unity only visible in one eye if deployed on HoloLens2? 0 Answers
Stencil and mask shader not working when building on Windows Desktop. 0 Answers