Rendering the Sky, Sunsets, and Planets
이 글은 웹 브라우저에서 실시간으로 하늘, 일몰, 행성의 대기 산란 효과를 셰이더로 구현하는 과정을 상세히 설명합니다. Rayleigh 산란, Mie 산란, 오존 흡수 등 대기 물리 현상을 수학적으로 모델링하고, 광선 마칭(raymarching) 기법을 활용해 광선의 투과율과 산란을 계산합니다. 이를 통해 실제와 거의 구분이 어려운 하늘 색상과 일출·일몰 효과를 재현하며, 게임 및 그래픽 분야에서 활용 가능한 고성능 대기 렌더링 기법을 제시합니다. 또한, 성능 최적화를 위한 LUT 기반 접근법도 소개합니다.
https://blog.maximeheckel.com/posts/on-rendering-the-sky-sunsets-and-planets/
#shader #atmosphericscattering #raymarching #realtimerendering #webgl

On Rendering the Sky, Sunsets, and Planets - The Blog of Maxime Heckel
This article explores how to render realistic skies and atmospheres in real time in the browser with shaders, from simple sky domes, to entire planets using shaders, raymarching, Rayleigh and Mie scattering, and ozone absorption.



