4
2014
Animated Fake Sprite Shadows (shader)
Interesting fake shadow effect for sprites, using modified sprite shader..
Features:
– Works with animated sprites
– Works without pro
– Could be used as fake reflection also?
– more info later..
Webplayer:
http://unitycoder.com/upload/demos/FakeSpriteShadowShader/
Related Posts
9 Comments + Add Comment
Leave a comment
Recent posts
- Create Scene Thumbnail Image using OnSceneSaved & OnPreviewGUI
- webgl+javascript TTS
- Using Moonsharp (LUA) + Unity Webgl
- Using 3D gameobject prefabs with Unity Tilemap + NavMesh Surface
- Custom Unity Hub Project Template Preview Image/Video (using HTML+CSS in package description)
- Check if point is inside polygon 2D (using line intersection)
- UnityHub: Enable Create Project Button (without having to select Cloud Organization)
- UI: Make Tooltip background fit Text content length
- Pong-Wars in Unity
- Install Android SDK+JDK+NDK for Unity (without AndroidStudio or Unity Hub)
- UnityHub: Add support for custom project title (instead of folder name) or use ProductName
- Testing Unity MUSE AI
Sprites Bumped Diffuse Shader and Transparent Cutout Bumped Diffuse (With Shadows):
http://forum.unity3d.com/threads/217827-Sprites-Bumped-Diffuse-Shader-and-Transparent-Cutout-Bumped-Diffuse-%28With-Shadows%29
Writing a SpriteLamp Shader in Unity:
http://indreams-studios.com/post/writing-a-spritelamp-shader-in-unity/
Hey,
This sounds great, I am very interested to see how it turns out. Could be quite useful to me.
2D shadows:
http://forum.unity3d.com/threads/2d-directional-shadows.308591/#post-2008347
sprite shadow:
https://bitbucket.org/Unity-Technologies/2ddemos/issue/11/ability-to-add-drop-shadow-glow-or-stroke
sprite outline:
https://github.com/cakeslice/Outline-Effect
Any news on this shader ?? Can you share with us ?? We are really interested, because we are looking for a shadow solution to use it in our beat em’up game. Thanks in advance, you have a great blog.
the shader went broken in some version..have not yet tried to fix it after that.
i’ll post it once i find it 🙂
*but i think it was just a 2 pass shader, 2nd pass drew the sprite as black with offset..
here’s new quick test version, original had some extra options but can adjust from this:
https://gist.github.com/unitycoder/c8e20458bd9a73b6875f
sprite receive shadow:
http://forum.unity3d.com/threads/sprite-receive-shadow.357705/