I found a great three.js demo here: http://mrdoob.github.com/three.js/examples/canvas_geometry_earth.html
I noticed, that there are some line in the shadow of the earth. Is it a bug, or the author made it by design?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
That lines are there because geometry used for shadow has an
overdraw: trueparameter.That parameter is used to hide some anti-alias gaps using
CanvasRenderer. It works fine for opaque textures, like the earth one, but not for transparent textures, like the shadow, because the “overdrawing” effect.Remove parameter, or change it to
false, and you can see the difference.