I was reading a few posts about shadow problems and maybe I can clarify a few things for you guys regarding shadows in 2.5 VS 3.0, and please "Reallusion correct me if I'm wrong"
because I'm not 100% sure since I have not read your internal coding for shadows.
This is just a guestimate from someone that is familiar with 3d. ok?
As mentioned in previous posts, in IC 2.5 you have a shadow to start with, not only that, IC 2.5 had 3 types of shadows that you could play with. Drop shadows, wall shadows, and self-cast shadows. (BTW IC 3.1 has drop shadows and wall shadows back!
1) The Drop shadow
which is there by default in 2.5, was a cheated shadow on an invisible ground plane. It was fast because it did not had to calculate on which object the light had to cast the shadow to, it was always the fake invisible ground plane, the down side was that you could not cast shadows on walls or other objects.
2) The wall shadow
was like a 2d silhouette offset. again fast but it only looked good on walls but it looked fake on the ground.
3) And last but not least was the Self cast shadows
, These shadows were very render intensive because it has to calculate not only the shadows for all the objects but also where it is going to cast the shadows to and deform them according to the shape of that object so that it looks correct. (however this type of shadow was only available for Nvidia card)
you only have one type of shadows (self-cast shadows
, however reallusion made it compatible with both ATI and Nvidia cards, which is a good thing
) The downside to this is that these type of shadows are very gpu and cpu intensive. Update: IC 3.1 has all three types of shadows again! . TIPS:
So what you are probable wondering is what can we do to make the workflow a little faster
and less taxing on the hardware when it comes to shadows. Well... here are a few suggestions:
1) Set your desktop resolution lower if you have an old video card or machine
. Just like a video game where you have to lower the screen resolution to get better frames per second, Iclone defaults to whatever desktop resolution you have at the moment. So if you have your desktop at 1920 x 1200 or more if you have dual monitors you might want to reduce the resolution of your monitor until you are happy with the frames per second you get inside iclone. Also you might want to turn swtich off your second monitor. All of these things will give you a huge performance increase.
2) Do not turn shadows on until after you finish your animation needs.
Also remember that IC3 now allows you to turn objects to different types of shading as well as allowing you to turn objects on and off. Turning heavy objects into wireframe or off if you do not need to see them while you animate your character will increase your realtime playback.
3) Use spotlights to cast shadows only in the areas that are needed
and use directional light and point lights as fill/ambient lights. Use the cone angle to control the area in which you want shadows to be casted. By doing this you can use smaller shadow map resolutions.
4) Turn off the cast shadows capabilities from all the objects that do not need to cast shadows
. Sometimes you just want objects to receive shadows, not cast them. This will decrease the usage of gpu/cpu usage since the lights will have less objects to calculate shadows for.
5) Blocky shadows can be prevented if you follow the above advice
. This happens when you are trying to cramm too many objects shadows in one shadow map/light. See this thread for more details. https://forum.reallusion.com/Topic8742-82-1.aspx
6) Having the check mark for shadows next to the light on the scene manager is not enough
, you have to scroll down on the edit light menu on screen right, and turn selfcast shadow on under shadow type.
7) In order to see a shadow on the ground you have to have a ground
. In Ic 2.5 the drop shadow you have by default is being casted on a fake invisible ground. On IC3 you have to have an actual piece of geometry on the ground in order to see the shadows.
8) Shadow blur: A little goes along way in.
When you turn shadow blur on it starts with 10 intensity, which is too high and it gives this ghosted trail effect, try 1 intensity and go from there. Blur also have different effects at different resolutions, blur 1 on 1k resolution looks very different from blur 1 from a 4k map. Why? because blur needs to work harder at lower resolutions in order to clean up the Aliasing/jaggies, so you need a higher intensity.
9) Bias: use it to fill/fix the shadow gap where two objects meet
. This is a great little tool for fixing gaps that are created where two objects touch, sometime you have to go up a few numbers and sometime you need to go down. Do increments of 1 at a time and see the result, it does not take much to fix them.
As soon as I get a little more free time at home, I will post some visual examples and some more tips on lighting.
I Hope this helped someone out there
PS: I know I have a few typos in here but hey this is not a grammar class anyway.
Also, keep coming back to this thread if you see my name next to it, It means I added a new tip for ya
My iClone 7 gallery
12 Years Ago by