bruneton-sky-model
bruneton-sky-model copied to clipboard
No shadow effect
Hey, it seems that there is no shadow effect in the demo, any idea to implement this?
For shadows you’d have to resort to something like cascaded shadow maps or ray traced shadows since it’s beyond the scope of this particular sky model :D
For shadows you’d have to resort to something like cascaded shadow maps or ray traced shadows since it’s beyond the scope of this particular sky model :D
Hi, thanks for the reply. Haven't read through the code, but could you give me some hints on how to convert the ray trace to rasterization based on Erics's project. Eric's demo shader is specific for sphere render which is not easy to expand to render other objects and maybe very slow thus can't be real-time when there are other more complex objects.