5
Playing with Shaders in Godot 4
In this chapter, we start with looking at the Shader Creation dialog to create shaders and also look at the new features in the shader language in Godot 4. We will examine how to use Global Uniforms and Instance Uniforms with shaders. With visual shaders, we start by looking at the Visual Shaders Context menu.
We will work with Integer and Comment nodes. We create nodes using Texture3D and CurveTexture. We look at the Billboard and UVFunc nodes. We play with the Sky Shader mode to create sky shaders. We will examine the Fog Shader mode to see what we can do with it.
In this chapter, we will cover the following recipes:
- Creating shaders with the Shader Creation dialog
- Exploring Uniform Arrays in the Godot 4 ...
Get Godot 4 Game Development Cookbook now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.