A dungeon delver roguelike using Pathfinder 2nd edition rules
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

Created shader include file for creating the occlusion mask

+4
+3
shader/occlusion.gdshaderinc
··· 1 + float createMask(vec3 playerLoc, vec3 cameraPos, vec3 pixelLoc, float pixelDepth) { 2 + return clamp((1.0 - dot(normalize(playerLoc - cameraPos), normalize(pixelLoc - cameraPos))) * pixelDepth / 40.0, 0.0, 1.0); 3 + }
+1
shader/occlusion.gdshaderinc.uid
··· 1 + uid://c166njpbtlk7c