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
Related Posts
11 Comments + Add Comment
Leave a comment
Recent posts
- 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
- 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
i’ve tried to download the unity package files in the wiki, but some error comes when it tries to create the directory inside the assets folder.
can you repackage it again with a new copy of unity, or do you have some links with newer packaged files..??
thx b4….^^
Yes..I remember, now that you mentioned it, there was few lines that you had to edit in the wiki-script, i’ll make package from it soon.
Hahaha! Awesome. That was my comment! 😀 Can’t wait to try it.
Its works great…but only with spheres and capsules. Shadows don’t work on my own models and i dont understand why because my models are closed.Cubes dont work too… And i tested with a gun model and i see a lot of artifacts. So its very buggy :'(
Yes, it’s not working with other models. 🙁
I can’t seem to get this work, I get this error and there is like a purple mesh over the gameobject;
Trying to access pass 1, but material ‘Hidden/ShadowVolume/Extrusion’ subshader (0) has only 1 valid passes.
Disable dx11 mode (from player settings).. not sure whats the problem,
it adds this note in the shader though,
// Upgrade NOTE: excluded shader from DX11 and Xbox360; has structs without semantics (struct appdata members vertex,normal)
Thanks for that, that was a duh moment for me and now I am putting it on my own objects to get it work. 🙂
Everything is working great,wow this is nice.
NICE! Even if this is an old thread, (and now that Unity Indie has shadows, so this isn’t needed really) I could still use this to have a fiddle around and see what i come up with!
It can be run on android platform?