Hi,
I am preparing a new asset, called Colored shadows.
It will offer the possibility to create tinted shadows.
[Edit]
Webplayer available at __https://dl.dropboxusercontent.com/u/31918098/coloredShadowsUnity/coloredShadows.html__
Manual available at Colored Shadows Manual | PDF
All standard Unity shaders that support shadows are included.
If you need to convert a custom shader contact me here or at ippobour at gmail dot com.
Limitations : Does not support lightmaps or deferred pass, all shaders are compiled.
Pending approval at asset store.
I guess include the basics, unlit, lit diffuse, +specular, plus normal mapped. I guess working with terrains would be good for some people. So within the shader you take the shadow value and colorize it, on a per-object basis?
Diffuse, Specular, Bumped are done. Desktop and mobile.
Terrains are done.
Unlit is out by definition ( cannot receive light or shadows ), as well as trees.
Lightmaps are out at least for the moment.
I opted for a per object solution, it has an added bonus with light simulation - more on that as I explore it.
And a small pic:
Well I have been asking Unity for years to give us a shadow color option. Do you have a video/webplayer of your current solution? Also, why not make sure this works with “any” shader… as I am using Shader Forge?
imaginaryhuman : I think the subtle approach is what more artists will use. Shadows are similar to lights. They can easily abused and the results are… “experimental”. On the other hand, if someone is a master in color and wishes a radical shadows color, it is possible via settings.
Thomas Pasieka : The only reason I created this asset is that I show you plus a few other artists asking for it
I am working on a sample scene now and I am going to record the results on video and publish it along with a webplayer. If you check the list, every unity shader that supports shadows is converted. For custom shaders, clients can contact me.
I am working on a solution for the lightmaps and so far I have concluded that it is possible, but it needs too much work to be included in the first release. So it will happen in a update. Videos and webplayer will follow soon
Hi,
I created a webplayer that demonstrates the use of colored shadows.
You can adjust the hue of the shadows, as well as how “colorised” the shadows and the diffuse self shadowing are.
I have a little more work to do on this asset, it will be submitted to Asset Store this week.
Hi,
Thanks for the kind words !
You can check the manual here : Colored Shadows Manual | PDF
I have submitted the package to the Asset Store, it will be soon available.
smells like deep shadows technology and color bleeding from renderman …in realtime… i second the request dzodzu …could give ippokratis a few more headaches though…
Doesn’t the shadow color have to be determined by some other colored ambient light source? Like, a shadow means light is missing from one light source, and so if it has a color it’s because there’s colored light coming from somewhere else.
dzodzu : I think sun gives blueish shadows and neon yellowish. You can change the color of the shadows at real time as demonstrated by the web player, to adapt at different situations. You can also change the shadow per object if necessary, but I think it will end up a mess if you mix 'em up.
Trelobyte : There is a line between eye candy and ready for production shaders that I try not to cross. The vast majority of the shaders are shader model 2 aka fast. GI is cute but slow. If you look at comic books, they look great without using physically accurate shading. The webplayer is inspired by cheap SF covers
Imaginary human : I have seen some horrible things happen from ambient lighting abuse. In any case, ambient lighting contributes in the color of the shadows in the lighting model implemented in Colored Shadows.
I have integrated colored shadows in the upcoming version of toon shader, along with some more interesting stuff ! Stay tuned, this February will be very interesting !