Browsing articles tagged with " shadow"
Jan
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) […]

Jan
20
2013

Fake Circular Shadow Casters

More fake shadow tests.. (currently works from one direction only) Info: – Lets say all of your shadow casting objects are spheres/circular, then we could calculate what area is not visible based on the distance & angle from the player to spheres (or so I […]

Dec
28
2012

Fake Soft Shadow Shader

Using metablob shader, where sphere positions are linked to the objects that you want to cast spherical shadows (shader is on a plane, where blend mode set to multiplicative) Webplayer: http://unitycoder.com/upload/demos/BlobShadowShader1/ Download source: coming later..

Aug
14
2012

Shadow Volumes with Unity Indie

Thanks to this comment, I founded out that you can use GL in unity indie. That means, shadow volumes script from unitycommunity works on free unity also! (on 4.0, those commands should work on the free version anyways..) Download Source: ShadowVolumesExample.unityPackage

Aug
11
2012

Fake Dynamic Tree Shadows

Tree shadows are created for terrain trees in Startup(), with adjustable strength, shadow shape, shadow color etc. (unity indie) Ideas/Todo: – Animated shadow? (based on terrain wind settings or just random..?) – Different shadows for different trees (Get treesize, type..) – Angled shadows (currently its […]

Aug
6
2012

Dynamic Clouds + Cloud Shadows on Terrain

Adding more stuff to the previous cloud test, now with fake shadows. (scene works with unity indie) New features: – Animated sky cloud shadows on terrain – Bugs: Currently the clouds are not perfectly aligned.. – Shadow strength can be adjusted (now its 0.5 for […]

Jul
25
2012

Verlet Integration : SoftBody

New/modified version of the previous test sources: Verlet Integration Cloth The fake shadow (“shadow volumes” from unifycommunity) is bit broken, maybe because we are modifying the vertices at the same time or it didnt really work so well with spheres.. Shader: Gem shaders Webplayer: http://unitycoder.com/upload/demos/VerletIntegrationSoftBody1/ […]

Mar
27
2012

Shadow Casting + Convex Hull = More Fake Shadows

Combine Simple Shadow Casting & Monotone Chain Convex Hull and you have…more fake shadows for unity indie!!1 Works fine for a box..should try the teapot next. Details: – Calculate vectors from the light, through every vertex in target object,  lengthen the vector until reach ground […]

Mar
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 […]

Mar
24
2012

The Return Of The Fake Vertex Shadow

Yay..more realtime fake shadows, using similar technique like this old fake vertex shadows test Features: – VertexLit shader with texture – Linecast each vertex towards light, if we can reach light, then lets shine, otherwise stay dark.. – In the webplayer, 15 vertices are scanned […]

Pages:«123»

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.