-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Shadows? #7
Comments
Well, nevermind, I managed to find a solution for them |
Hey was it an easy solution and could you guide me in the right direction to getting shadows working? |
Well, might not be the best method but I guess it works fine for my project at least. I am using the BlobShadowProjector from the Standard Assets. You can follow these steps if you do not know about it. With this projector, the shadow gets messed up on the floor that has the Psx shader, so you have to edit the Psx shader and make it to ignore the Projector, something like this in the Psx shader you're using for the floor, at the Tags section: And the trick is, to create a fake floor, that is invisible and only receives the shadows, and put it like 0.1 above the floor that has the Psx shader.
Final step is to create a material and drag this shadow shader that you just created into it, then drag the material on the objects you wants them to receive the blobshadows on it. Hope it helps, and good luck. Heres the result on my project: |
Oh fantastic I'll try that method out 😁 Thanks for your help! |
Edited the shader, it had some mistakes. The "Alpha cutoff" must be set to value 1, and o.alpha to 0 value. To recap, in case someone trying to achieve this:
|
Hey just wanted to thank you for making this |
Hey, I've been using this amazing shader, really love going back in time!
Is there any chance for you to add shadows aswell? Like simple circle pixelated shadows on the ground of the meshes, that would be great!
The text was updated successfully, but these errors were encountered: