Profile Picture

Banding caused by soft shadows - how can it be resolved?

Posted By yancowles 2 Years Ago
You don't have permission to rate!

Banding caused by soft shadows - how can it be resolved?

Author
Message
illusionLAB
illusionLAB
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)Distinguished Member (3.2K reputation)

Group: Forum Members
Last Active: 2 Weeks Ago
Posts: 393, Visits: 4.8K
OK, had a look to see if I could replicate the problem - which I did.  The 'banding' gets worse as you widen the angle of the spotlight... up to 90deg it's hard to see, but once you're at 150deg it's quite clear.  The angle at which the light is hitting the objects also affects the severity of the banding - the white plane (no texture, bumps or AO involved) in my test had a light hitting it at 45deg.  The banding gets narrower as you reduce the angle... just like 'widening' the spotlight beyond 90deg.  It's clearly a side effect of the 'soft shadow' process.  The size of the shadow map also contributes heavily, as expected.  So 4K shadow maps yielding the best result and 512 looking like you're shooting through venetian blinds.  What's really weird is the actual 'shadows' don't have the bands... go figure!?!https://forum.reallusion.com/uploads/images/f5630b13-8357-488b-8132-d9db.pnghttps://forum.reallusion.com/uploads/images/e5113d1c-c003-48c5-9cd6-2155.png
4u2ges
4u2ges
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 2.8K, Visits: 9.0K
Oh boy! 3 pages already w00t
Yes, it is not the texture in any way.
Suppose nobody checked the second reply in this thread, where I posted the link the very same problem I had 6 month ago.
Yes, it caused by the shadow and it varies with falloff angle, changing stripes pattern.





Edited
2 Years Ago by 4u2ges
sonic7
sonic7
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)Distinguished Member (8.7K reputation)

Group: Forum Members
Last Active: Last Week
Posts: 1.5K, Visits: 17.0K

" ..... What's really weird is the actual 'shadows' don't have the bands...... "
Yeah Mark - I noticed that too ... most strange ....

@4u2ges .... I must confess - I didn't check your link. Blush  .... Oh well, how about that - we've all discovered the same thing! Tongue
Well - at least we can say with much greater certainty - that the problem really does *exist* Rolleyes


--------------------------------------------------------------------------------------------------------------------------------------------------------
Please be patient with me ..... I don't always 'get it' the first time 'round - not even the 2nd time! Sad  - yikes! ... 
MSI GT72VR Laptop, i7 7700HQ 4-Core 3.8 GHz 16GB RAM; Nvidia 1070, 8GB Vram iClone-7.73  3DXChange Pro  CC-3 Pipeline  CT-8  HeadShot  Brekel Pro-Body Mocap  Popcorn FX  PopVideo  iRAY  Kinect V2  DaVinci Resolve16  Mixcraft 8.1 Pro

urbanlamb
urbanlamb
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)

Group: Forum Members
Last Active: 4 Months Ago
Posts: 1.2K, Visits: 3.5K
4u2ges (7/17/2018)
Oh boy! 3 pages already w00t
Yes, it is not the texture in any way.
Suppose nobody checked the second reply in this thread, where I posted the link the very same problem I had 6 month ago.
Yes, it caused by the shadow and it varies with falloff angle, changing stripes pattern.


did you put in a bug report? cause it looks like you solved the problem for this particular case.?  (assuming he used spotlights and among other things) 
also make sure to tell them how to reproduce it in the report? 
since it appears the original poster is gone. (unless this is an alt you created in order to .. compete lol i dont put anything past some people) 
I'm not male so sorry my way of dealing with things are going to be different.   /shrug 

edit.. i suppose this thread did have one purpose it forced someone who had the problem to sit down and find out the cause.  so that is the silver lining.  

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"You have brains in your head. You have feet in your shoes. You can steer yourself in any direction you choose. You're on your own, and you know what you know. And you are the guy who'll decide where to go."
                                                                                                                                                                                                                                                                                     Dr. Seuss

Edited
2 Years Ago by urbanlamb
animagic
animagic
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)Distinguished Member (23.2K reputation)

Group: Forum Members
Last Active: 9 hours ago
Posts: 12.8K, Visits: 22.5K
There have been problems with spotlights and shadows in the past, which were solved in previous iClone versions (AFAIK), so it's a bit disheartening that they pop up again.


https://forum.reallusion.com/uploads/images/1a09220f-ab50-42ac-ad1a-33ec.pnghttps://forum.reallusion.com/Uploads/Images/d14339d0-cd32-4b35-88f9-40a0.png


justaviking
justaviking
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)Distinguished Member (17.3K reputation)

Group: Forum Members
Last Active: 12 hours ago
Posts: 8.0K, Visits: 25.6K
It's strange the way it "bands."  It's more like "stripes," which is different from "stair-stepping."

For a while I was thinking they might be using some "8-bit math" resulting in too few levels of brightness, but it's more of a repeitious pattern.  It's not like what you see if you have an 8-bit height map with very small variations in height.

I wonder what would happen if each "stripe" (band) was reversed.


Definitely room for improvement.




For reference, this is what I originally expected to see (it looks like a geographical elevation contour map), but this is NOT the problem:
https://forum.reallusion.com/uploads/images/3813ccc4-b61d-439f-95f0-c16d.jpg




iClone 7... Character Creator... Substance Designer/Painter... Blender... Audacity...
Desktop (homebuilt) - Windows 7, i7-3770k CPU, GTX 1080 GPU (8GB), 16GB RAM, Asus P8Z77-V Pro motherboard, 1TB SSD, terabytes of disk space, dual  monitors.
Laptop - Windows 10, MSI GS63VR STEALTH-252, 16GB RAM, GTX 1060 (6GB), 256GB SSD and 1TB HDD

Edited
2 Years Ago by justaviking
urbanlamb
urbanlamb
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)Distinguished Member (3.8K reputation)

Group: Forum Members
Last Active: 4 Months Ago
Posts: 1.2K, Visits: 3.5K
Yeah this is not truly what I was speaking of I will try to reproduce it but for now.. when it comes to those spotlight bands.. usually its in a circle? spotlights are round? easy enough to tell when you pull back if its caused by those.   (unless there is a feature update i missed and we can now make custom ones? never know.. anyhow i dont use spotlights much with the introduction of the "new stuff" i dont need em as much so havent been paying attention to spotlights really) 

This is still not what I am seeing, but I dont think there is more that I can say.    Its easy enough to create a bunch of lines by baking out a normal map from a two tone grey piece.      What I see is probably not what others are seeing so I bow out for now.    If I have time to replicate it I will do so, but I do not think this is what we are looking at here at least its not what i am looking at hehe.   
here is a quicky but again really can't say until one looks at the thing.   
https://forum.reallusion.com/uploads/images/58a79aca-9c06-400a-9d1a-b09d.png

and here is how i created it.

https://forum.reallusion.com/uploads/images/15e1db73-a6b0-4f75-a2d2-431a.png

and here is the box i was speaking of and why i said what i said after seeing that box in the corner.    

here is the render
https://forum.reallusion.com/uploads/images/8c0b297c-3791-4c0d-bf55-e672.png

and here is the way i caused the problem.  This is a heightmap with blur which is used often for displacement inside iclone.   
https://forum.reallusion.com/uploads/images/c79c1243-6ac2-4a47-923d-5e0f.png

anyhow this is what i meant.   Again I dont know but this is what I saw and sometimes a picture is worth a thousand words.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
"You have brains in your head. You have feet in your shoes. You can steer yourself in any direction you choose. You're on your own, and you know what you know. And you are the guy who'll decide where to go."
                                                                                                                                                                                                                                                                                     Dr. Seuss

Edited
2 Years Ago by urbanlamb
4u2ges
4u2ges
Posted 2 Years Ago
View Quick Profile
Distinguished Member

Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)Distinguished Member (9.4K reputation)

Group: Forum Members
Last Active: 2 days ago
Posts: 2.8K, Visits: 9.0K
urbanlamb (7/18/2018)
(unless this is an alt you created in order to .. compete lol i dont put anything past some people) 
I'm not male so sorry my way of dealing with things are going to be different.   /shrug
 


Look in the mirror for once sweetheart and ask yourself:
Why am I always keep clashing with people around me while nobody else has?
And why do I keep whining in almost every other post about being... mistreated... misunderstood.. misjudged?
May I be the one who has problems understanding?

Anyhow, I have no slightest intention to reply to the nonsense you posted here and PM me for some reason. I'd rather place you in ignore.





Edited
2 Years Ago by 4u2ges



Reading This Topic