-
-
Notifications
You must be signed in to change notification settings - Fork 35.4k
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
Shadowing still gives shadow acne #7359
Comments
Yes. We still haven't solved this... |
Using a single light ( |
Yes, this is my solution so far. Good to know, you're on it :) Thanks |
@throni3git The shadow acne is caused by self-shadowing. That is what |
There must be more advanced ways to solve our shadow acne problem. Most modern game development systems do not show the degree of shadow acne ThreeJS currently has. There must be an automated solution. It is on my list of things to get to. |
@bhouston I think it's just a matter of moving away from the |
Dude! |
It fails on Linux Intel drivers:
Interesting, I'm pretty sure @tschw figured out how to address that in this comment: |
are you sure? it looks like this over here: |
I think it may be possible to not cast shadows on faces facing away from the light that is shadowing them. Or at least extend the bias in those cases. That should help with this situation. |
@makc what your os/hardware? |
@makc no errors in the console? |
@bhouston well, yes, I guess saying that I fixed the shadow acne was not correct. however, it's WAY less noticeable 😇 |
@mrdoob total silence after |
On mobile Android chrome it's just flat and dark no lights? |
Any example? Or only the ones with shadows? |
There is a weird long purple shadow that can't be helping here, it seems to come from nowhere. Oh wait that's expected? Ambient only there? |
To debug Chrome on an Android device you have to follow these instructions: |
Thanks for that. It needed redoing more then a few timed before it showed up under chrome://inspect |
And here is the console errors.
|
@makc @MasterJames can you guys try again with the latest in |
Yes that's got it! |
Good to know. My |
Hello und a big ThankYouAll for three.js :)
I'm trying to achieve beautiful shadowed render graphics und i have followed the recent changes in shadowmapping ( #7321 and #6420 ). Anyway, using the current master build, i still get shininess through shadow and shadow acne artifacts. This seems to be an issue with multiple lights (of type Spot / Directional)
I've forked a jsfiddle from mrdoob with a spotlight and a directional light. Have a look at http://jsfiddle.net/wgwoqncy/4/
Spotlights shining through shadows:
Shadow Acne with two SpotLights:
Shadow Acne with a SpotLight and a DirectionalLight:
Greetings,
Thomas
The text was updated successfully, but these errors were encountered: