3
2016
Fake Tube Light Shader
Tried to test idea about tube lights (or “line light”), by using custom lighting in shader, you could sample the light several times from different positions/angles, so that it looks like the light is not just a single point. (not really working here properly yet, […]
23
2016
Volumetric Image Effect Shader
Converted this old godrays shader ( http://unitycoder.com/blog/2012/10/02/fake-godrays-shader/ ) into image effect – interesting results! (see video below) Source codes below (Attach script to main camera) This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. […]
12
2014
2D Visibility / Shadow
Started converting this 2D visibility/light script ( http://ncase.me/sight-and-light/ ) to unity, finally some progress! btw. lines are drawn using GLDebug from : http://www.unity3d-france.com/unity/phpBB3/viewtopic.php?f=24&t=5409 Unity forum thread: http://forum.unity3d.com/threads/2d-visibility-shadow-free.275698/ — TODO: – Quad segments are currently crossed.. – Fix mesh generation *Temporary fix: insert extra boxes outside […]
5
2013
FOV Using Recursive Shadowcasting
Converted this script to unity: FOV Using Recursive Shadowcasting, for a quick test.. Instructions: – Attach the script to a plane – use Unlit/Texture shader as material (then no need lights..) – Move main camera so that it sees the plane TODO: – Use this […]
3
2013
2D Grid Fake Shadow
Using the same code from previous 2D Raycasting Visibility Voxel Travelsal, but added dynamic grid array update (using screenshots..), so now the walls (obstacles) are updated realtime on the 2D grid. FEATURES: – Converted the whole thing to C# – Any object visible to camera can […]
31
2013
Fake SpotLight Shadows
Testing one idea for fake spotlight shadows. In the image, spotlight is at the wall, cylinder column is there to block light. (shadowmap size 1024×1024) Current version info: – Have to build the shadow texture manually..(later should be possible to do it all in script) […]
2
2012
Fake Godrays Shader
Godrays shader on a plane texture.. since no RenderToTexturein indie. ( Converted to unity from this webgl shader) Should try it as a camera shader also.. Features: – Adjustable values: effect xy position, exposure, decay, density, weight, clamp, samples (screenshot is using 100 samples) Webplayer: […]
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 […]
10
2012
Fake Illumination Based on Object Texture Color
Testing how it would look, if objects “illuminate” light around them (using colored lights), based on texture colors.. Version#1 (info) – On startup, script goes thru target object vertices, triangles, normals, uv’s and creates colored lights – Currently using point lights, should be better with […]
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 […]
Recent posts
- MotionVector Effect: Object “disappears” when paused
- [GreaseMonkey] Unity Forum Fixer
- UnityHub: Make Hub application background Translucent
- Customize SpriteShapeRenderer quality (but has issues)
- Editor tool: Copy selected gameobject’s names into clipboard as rows (for Excel)
- Editor tool: Replace string in selected gameobject’s names
- UnityHub: Enable built-in Login Dialog (no more browser login/logout issues!)
- Use TikTok-TTS in Unity (with WebRequest)
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
Recent Comments
- [Asset Store] Point Cloud Viewer & Tools on
- [Asset Store] Point Cloud Viewer & Tools on
- Vector3 maths for dummies! on
- UnityHub: Make Hub application background Translucent on
- UnityHub: Make Hub application background Translucent on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub) on
- [Asset Store] Point Cloud Viewer & Tools on