Closed GuillemBarroso closed 1 year ago
Fix #74 and fix #76.
Implement a fog object that applies a shadow effect depending on the player's vision parameters (vision angle and length).
The smooth transition from completely opaque and transparent is achieved by drawing N number of polygons with decreasing alpha values.
N
Fix #74 and fix #76.
Implement a fog object that applies a shadow effect depending on the player's vision parameters (vision angle and length).
The smooth transition from completely opaque and transparent is achieved by drawing
N
number of polygons with decreasing alpha values.