3 ms·
Just a nit: the lighting outside is not a single directional source, unless you're in the Moon. There is sun, which is slightly yellowish (or orange to red at
by nine_k 5y ago
Just a nit: the lighting outside is not a single directional source, unless you're in the Moon.
There is sun, which is slightly yellowish (or orange to red at sunset), and there is sky light which is obviously bluish. Sun is directional, sky light is not. Sun is a light source far away, but sky is a light source all around the scene.
The rest, well, can be done with a lot of bouncing, refraction, diffusion subsurface scattering, etc.
- Jasper_ 5y agoThe blue light of the sky is technically the result of Rayleigh scattering of the sun through the atmosphere, which can be emulated (and often is these days! [0]), but fair; it's often cheaper and easier for an artist to model them separately. I was going for a classic physics demonstration to point out how simple sources can often result in beauty. [0] The classic is Naty Hoffman's 2002 work on atmospheric scattering http://developer.amd.com/wordpress/media/2012/10/GDC_02_HoffmanPreetham.pdf http://developer.amd.com/wordpress/media/2012/10/GDC_02_Hoff... , but it has been developed over the years, e.g. Sebastian Hillaire's work on both Frostbite https://media.contentapi.ea.com/content/dam/eacom/frostbite/files/s2016_pbs_frostbite_sky_clouds.pdf https://media.contentapi.ea.com/content/dam/eacom/frostbite/... and Unreal Engine https://blog.selfshadow.com/publications/s2020-shading-course/hillaire/s2020_pbs_hillaire_slides.pdf https://blog.selfshadow.com/publications/s2020-shading-cours...
- nine_k 5y agoWhile technically true, this is not how most 3D animation software models light — even if it (roughly) models Rayleigh scattering in solids, like opal or ground glass. In all realistic rendering software, skylight and sun (or other celestial bodies, like Moon) are modeled as separate sources of light, with different light characteristics.
- bnegreve 5y ago> There is sun, which is slightly yellowish The sun light is white during the day, otherwise, anything white would appear yellow.
- gmueckl 5y agoNo, the white color of the sunlight is an illusion. It actually is yellowish, but our vision adjusts for that. We basically have a kind of adaptive white balance. The spectral intensity is mostly that of blackbody radiation, which peaks in the yellow part of the spectrum for our sun.
- pineaux 5y agoI dont think this is true. direct sunlight can be many shades of white. It differs in the morning and the evening and it is mostly yellow. The yellowness of the sunshine is a direct result of raleigh scattering and other atmospheric effects.the blue part of the spectrum that comes from the sun is scattered by the sky, making the sky blue. Taking away the blue makes the nonscattered sunlight yellowish. On photos of the moon, you see the true color of sunlight. Which is a pure white.
- bnegreve 5y agoOf course there are different shades of white, what I am saying is that the color of the sun during the day is what people most would classify as "white" and not as "yellow" if it the color was printed on a sheet of paper. If the sun color was actually yellow, people wouldn't be able to tell the difference between a white object and yellow object under the sun light (they would both appear yellow). And clearly they are. On the other hand a white object doesn't get any "whiter" under another kind of light than it appears under direct sun light, this again is because the sun light is white, and not yellow. Of course there is some subjectivity here, but it is a misconception to call the sun light yellow. For example, this "bright sun" RGB [1] color, is clearly not the color of direct sun light. Hopefully, you will agree with this. [1] https://www.colorcombos.com/colors/FCD440 https://www.colorcombos.com/colors/FCD440
- nine_k 5y agoSunlight is wide-band (see "black body spectrum"). This is why a white object (that reflects all light equally) and a yellow object (which mostly reflects reds and greens) are discernible under such light, even under sunset light which is visibly yellow or orange. The sunset orange light still contains many other colors. A yellow object and a white object would be not discernible under a very narrow-band yellow light, or a mix of two narrow-band red and green lights of right proportions. This is how LEDs and lasers emit light, but totally unlike hot objects (like Sun) or fluorescent lamps (like "natural light" LED lamps) emit light.