18 March, 2021

Blender Add-on: The Shader Library [Version 1.08] - The Cosmic Shader Update

 


In this video, we take a look at another update for The Shader Library (version 1.08)

In this update we we now have Cosmic Shaders!. These Shaders are Procedurally Generated and have the ability to be changed for variations.

Changes as of version 1.08:

Cosmic Shaders Added;

  • Dust Planet - A Barren Planet with optional Atmospheric Glow.
  • Continental World - An Earth-like Planet with optional Clouds and Atmosphere.
  • Star Sphere - A Star-field that is best used on (though not restricted to) a sphere.


More Planets will be added in future updates, if you have any suggestions on what you would like to see added or have any suggestions on options you would like in the Operator be sure to let me know in the Video's comments.

You can download the updated script here

 

Once you have downloaded the update, you will now have the Cosmic Shaders Tab.

With your object selected, you can select the Planet Type and the desired Shader.

 

Star Sphere

With the "Star Scale" we can increase or decrease the size of the stars.

The "Star Density" will effect the coverage of the stars.


Dust Planet

The "Planet Hue" allows you to change the Hue of the whole Planet.

With the "Stripe Amount" You can add or remove the horizontal stripes. 

Enabling "Atmospheric Glow" should be a law!. 

Not really but it really does make everything look better. With it enabled you can choose the "Atmos Color" and "Glow Amount"


Continental World

The "Land Hue" is similar to the Dust Planet with the exception that this will only change the Hue for the Landmass. 

We can increase the size of the Continents with the "Land Scale" amount. 

With "Water Level" we can increase or decrease the level of the water. 

Atmospheric Glow is exactly the same as the Dust Planet.

Enable Clouds and you can change the "Cloud Scale" and "Cloud Visibility" too.


04 March, 2021

Blender Python Tutorial: Redo Operator

 

 

In this video we will be taking a look at how we can add the Redo Function to our add-ons.. *Spoiler Alert* - It's super easy!..

The Redo Operator Panel is a fantastic little addition to any add-on, it gives the user more control of the Operator (after Execution). For this example I will be using a Template Panel and Operator. You can find the Template script here.

I add a cube and change the location (though this could be any function or action you want). Then by adding some BL info in the operator we can add our Redo Panel. 

Once we have it working we can then make it look better by turning the Operator into a Pop-up Dialog Box (which is something we covered in a previous video). We can also make it look pretty by defining the draw method (again something we covered in a previous video).

Scripting Playlist

I hope you find this video helpful and I hope you guys are enjoying the series so far!.

As always, thanks for Reading!..