25
2012
Fake Shadow Ideas: Using Particles as Light Photons?

This is quite an early test.. what if you use particles as “light photons” ? Then no need to do raycasting?
Current features: (main screenshot)
– Shuriken particle system, Shape: Cone, angle:90
– Collision planes on those white boxes (uh..shuriken doesnt support “world collisions”, only infinity planes that you need to manually pick/add..Oo?)
– Take each particle position, draw a light mesh there, currently shown as boxes..code taken from ChunkRenderer
Ideas:
– optimize: only draw outer edges of the light mesh? how to build closed hull from random points in unity?
– particles can bounce, lose strengh = less light? if 1 area has many particles = brighter?
– draw particle location on lowres texture with setpixel instead? and use that as a light or projector mask?
– particles could stop moving after they hit the wall? (then you have outer edges of the light? triangulate that and draw mesh?)
Webplayer:
coming later..
Download source:
coming later..
Related Posts
Leave a comment
Recent posts
- Testing Unity AI Beta
- Ways to Support UnityCoder Development
- Using UI Slider to Create 5-Star Rating Element
- Game Music Library For Unity (editor plugin)
- Fontastic : Easily Test Fonts in Unity Editor!
- GeoTiff Importer & Terrain Generator for Unity
- Create Baked DropShadow for UI images
- .JP2 Ortho Image Converter to PNG/JPG/TIFF
- Convert LAS/LAZ/PLY pointclouds to GLTF (GLB) Point Meshes (standalone converter)
- Detect SRP (URP or HDRP) with Assembly Definition Version Defines
- [LudumDare57] Theme: Depths
- MotionVector Effect: Object “disappears” when paused
Recent Comments
- on [Asset Store] PolygonCollider2D Optimizer
- on Trajectory Test Scene 2.0
- on Vector3 maths for dummies!
- on UnityHub 3.6.0: Remove Version Control & Cloud Dashboard columns
- on Using RenderDoc with Unity (graphics debugger)
- on UI Scroll View automatic Content height
- on [Asset Store] Point Cloud Viewer & Tools
- on [Asset Store] Point Cloud Viewer & Tools
Coin:
CUgDSbRqFcAumDSAcdKDvuXsw26VdkJe8C8WGUQHBAGS
An article by











