New Sky Texture

damn i hope it can be in 2.9

14 Likes

me too, at now is from cycles implementation that i wait this sky setting, a lot of years

Since taking into account 81 wavelengths versus 11 wavelengths of the color spectrum doesn’t give any noticeable difference, then now the model is making use of 11 wavelengths instead of 81 which gave a good speedup.

81 wavelengths
60

11 wavelengths
60 (11 wavelengths)

9 Likes

This model doesn’t seem to properly support rendering spaces other than linear-sRGB/rec709? XYZ to rendering space conversion needs to be pulled from OpenColorIO(same way the current sky texture does) rather than hard-coded, otherwise the output colors will be wrong with things such as ACES.

4 Likes

The sphere can be a real PITA to fine tune - this looks much better! The only real great use was that it was drivable based on a sun lamp’s rotation, but with your vector socket it should be even easier. Thanks!

1 Like

This might be a really silly question considering how early both of these projects are but I’d like to know: How easy or hard would it be to write this same model to work spectrally? It looks like the Spectral Cycles branch might be getting close to support such ideas and it would be really cool if these two efforts were cross-compatible.
A better sky model is something I’ve been waiting for for a long while now. The current one leaves a lot to be desired. What you have going here looks excellent so far!

2 Likes

Thank you sir, yes I’m in touch with the spectral guy :slight_smile: and yes, this model will be ready for the change, don’t worry

12 Likes

I also hope you’ll reconsider making the sun disk size adjustable. @LudvikKoutny is very much correct that it’s important for just art directing shadow size or making an efficient way to mimc partially blocked sun. Also, modifying a sun/sky model IS the most effective way to produce non-earth skies in most cases. You usually get much better results just putting non-physical values into an earth-sky model, and possibly changing colors with things like the existing HSV node. Expecting artists to roll their own models for alien sky or just hand-make something with gradients is usually a poor solution.

11 Likes

Precomputation finished!!
Now the model renders superfast!! Even faster than the actual Hosek-Wilkie method!!
The only time required is the precomputation part which happens before the rendering starts, this process takes up to 1 second, but then the sky renders super fast, instantly!

32 Likes

I prefer sliders over the sphere controller by far. Much finer control imo

4 Likes

That is really cool! Looking forward to seeing it in next Blender releases!

2 Likes

Is there a reason for the noisy look? Luxcore is slower doing pure pathtracing and doesn’t have as much noise.

Viewport is setup to 10 samples, i’d say noise is kinda expected

Bilinear interpolation implemented!! now the 512*128 pixels texture looks supersmooth!!

26 Likes

Improved sun lighting!

27 Likes

Thank you for this!
Is this just a personal project? Is there any intention to incorporate this into some official blender branch and in some future within official master?

1 Like

Yes the goal is to make it for Blender 2.90.
You can already try it here
Note, builds update at midnight Canada time.

8 Likes

Oh! So fast! Thank you for your time!

2 Likes

Added Limb Darkening for Sun disc!!
The effect is exaggerated here, but if you zoom close to the sun disc you would actually see it!

25 Likes

Hi, very nice project.
I would like to build it on my system, is the branch up to date with the master of Blender Foundation?

Cheers, mib

2 Likes