hi,
I still have problem when i try to bake light & shadow with the mental ray baking window : I'm using some shadow maps and the baked result is non-antialiased at all, especially with the direct light.
I've encircled the direct light case... but other ones have "artifacts" too
I've tried many options and parameters.... not lucky
If someone has the same problem and know how to pass through :poly134:
Replies
I've tried "20" in sampling and nothing changes
Maybe it is not computed with the bake
And i don't want to use ray trace shadows like you mention; i know i won't have issue with RT
so you are using shadowmapped lights? The filter size adjusts the softness.
There is btw no reason to not bake ray trace shadows, they won't take much longer and the results are better...
The softness is on the other lights and they do the same result, but less visible because of the randomness and contrast ( but look below the chairs at the center ).
And raytrace shadows do take much longer.. because i don't have only one and want soft shadows
THIS is a raytraced shadow with a lightangle of 1.5 and only 1 shadow ray and it exactly looks like your bake....
( but i want a sharp shadow in the case of the direct light.. but i can't with shadow map :] )
and if you increase the rays, the point density will increase too... reducting the noise.. and the rendering time will increase too : i'm trying to avoid that.
But it seems shadow maps don't go with bake... so i will surely reconsider the heavy solution
"Because a 5yo child can create lightmap himself haha..."
hm hm anyway, I'll take some minutes about your render today ^_^.
I just did a quick test and they were baked just fine.
as i said before you just have to tweak the filter size. filtersize 0 means there is onlt shadow or now shadow. The higher the szie the softer the shadow. (you want a hard shadow, therfore size 1 or 2 should be goodd. A higher map size also helps.
The sampels in the baking options seem to be a bad version of aa. Baking it in double the resolution and then scaling it down to the original size is better.
................... really funny ................... my old script doesn't work anymore