Browsing articles tagged with " raycast"
Apr
25
2022

(Sources) Fog Of War – effect

Finally uploaded this old fog of war test project from https://unitycoder.com/blog/2014/10/16/2d-fog-of-war-unity/ Its raycast + vertex color based effect. (not really optimized, as it linecasts each vertex right now..) Sources:https://github.com/unitycoder/FogOfWar Cleaning up the project and upgrading from 4.x:

Oct
29
2012

2D Raycasting Visibility – Voxel Travelsal

Converted this AS3 2D raycast (by Lee Grey) to Unity javascript. (Image: raycast is coming from the middle, hits a wall..) Next: – Use grid array instead of reading pixels from image.. (done) – Try if this is faster compared to the old Raycast visibility […]

Feb
15
2012

Raycast Visibility 2.2

This is just a updated version of the: fake realtime raycast shadows (its not really shadows though..) Features in v2.0 Mesh is pre-build In update loop we just modify the existing vertices (no need to triangulate, create uv’s, etc in every frame) 50000 raycasts starts […]

Jan
4
2012

Fake 2D Realtime Raycast Shadows (for unity free version)

Testing another way of doing realtime 2D shadows, by casting rays from the player position, then create “light” polygon to the area where we can see. More info later, need to test few things (using setpixels & shader? or using different shader for better light […]

Connect

Twitter View LinkedIn profile Youtube Github Join Discord Twitch Instagram BlueSky

UnityLauncherPro

Get UnityLauncherPRO and work faster with Unity Projects!
*free unity hub alternative

@unitycoder_com

Subscribe to Blog via Email

Enter your email address to subscribe to this blog and receive notifications of new posts by email.