I observed that blender keeps a value of 200 units for Cascade Shadow Max Distance, this is not adapted when working in cm so shadows are not displayed by default. Since I’ll only create a sun from within the addon I added a few lines Under “def create_sun()” :
# Sun Shadow
ShadDist = bpy.data.lights["Sun"].shadow_cascade_max_distance
if bpy.context.scene.unit_settings.system == "METRIC":
bpy.context.object.data.shadow_cascade_max_distance = ShadDist / bpy.context.scene.unit_settings.scale_length
I also set sun to 5778K, not sure if that’s a more accurate value. I paired it with a better curve fitting temperature model from https://www.zombieprototypes.com/?p=210.
Did you guys tried to put Volume Scatter into world node or similar? It works OK for Eevee but not so much with Cycles. For sure I am missing something but… no idea.
@martinsh is it recommended to disable the sun lamp in cycles, so that the whole lighting is just being performed by the sky? Doing that should theoretically reduce the noise in outdooor scenes with no other lighting
You can use irradiance volume / probe grid (not at the pc now, I forgot the name) to “bake” shadows from HDRI in Eevee.
In my addon visual difference between cycles and eevee is minimal. Sky “indirect” lighting is calculated by the HDRI and direct lighting is simulated by a Sun lamp, that’s why you see shadows. Cycles, of course, will be more accurate, while Eevee is an approximation.
There is no limitation of how you should use the addon. mix it with anything you like.
In EEVEE, HDRI doesn’t produce shadows even when baking. It must be AO what you see or other lights if you see shadow. I am pretty sure about it. But correct me if I am wrong.
I just purchased this addon, and although it’s awesome for near-ground scenes, it seem it’s incapable to simulate global (aka planetary) atmospheres, which I would really needed. Maybe it’s just me but “low orbit” scenes means many distances…
So if there’s any workaround to use it like volume, or somehow create planet-scale atmosphere? Or in the near future?
Other question is if this is a phisical-based model of the atmosphere how it comes an “atmosphere height” like 700m (real atmosphere is many hundreds km thick) and giving fairly realistic near-ground renders?
Is there a chance to get working this atmosphere with bi-directional renderers? LuxCoreRender doesn’t work with this addon…
Hey all,
It has been 10 days since my baby boy was born!
Now my 10 day “baby vacation” is over and I am heading back on working on the addon!
My focus for the next release will be:
physically correct solar and sky radiance values (now they are proportionally lower than real values)
Congratulations all round! Thank you for an amazing add on. Could I ask for an option to invert the absorption? This is to allow us to pick the visible colour more directly. Thanks!
Getting closer to planetary scale!
Sphere/ray intersection is working. Atmosphere volume will be now calculated by subtracting atmosphere from planet. Exponential falloff will be tricky though, but not impossible.
Sun and Moon will be calculated the same way now based on radius and distance from the viewer. (opposite to a 2D disk shape projected to a dome at infinite distance)
This will allow you to physically travel to the star or moon.