Convert Shaders 3.x to GDShaders 4.x
Original Addon for Godot 3 by CaptainProton42 ported to Godot 4A flexible toon shader for the Godot Engine with many features:🤸Flexibility through parameters like number of cuts/bands, steepness, and wrap🎨 Supports custom color ramps🌈 Affected by the colors of light sources and ambient light in the scene💡 Allows for multiple light sources⛱️ Supports shadows and attenuation✨ Visual extras like specular reflections and rim lighting🖼️ Supports textures for albedo and specularNew:✏️ Experimental toon hatching shader (available as a separate material)
Headbanging against the keyboard, done for you.
This contains a simple atmosphere shader usable on planets. I developped this for a tech demo I'm working on, so I thought of making it an addon.- Comes in two versions, one with fake colors and another with light scattering- Can be seen from inside like regular fog if you want to land on the planet- Switches to a cube mesh when seen from far away so multiple atmospheres can be drawn at lower cost- Includes experimental volumetric cloudsChanges in 0.4:- Added `force_fullscreen` option to allow previewing the inside of the atmosphere in the editor- Added atmosphere ambient color to v2 atmosphere so nights are no longer pitch black- Added `*_shader_parameter()` methods, deprecated `*_shader_param` methods- Slightly improved clouds alpha blending- Decoupled alpha from color in v2 atmosphere so it no longer stops rendering in the dark side of planets- Fixed properties list not updating when setting a different shaderChanges in 0.3:- Added more realistic atmosphere model based on Sebastian Lague's Coding Adventure- Added automatic optical depth baking using a viewport (Vulkan renderer not needed)- Added raymarched and animated clouds (current version is imperfect due to tradeoffs)- Added NoiseCubemap resource to generate procedural cloud coverage textures- Added small demoChanges in 0.2:- Ported to Godot 4- Added option to blend ground depth with a sphere, to hide precision lost at high distances
This is a shader that implements a chroma key effect. Chroma keying is a technique used to remove a specific color (usually green or blue) from an image or video, making it transparent and allowing other content to show through.The shader provides RGB Comparison options for the chroma key effect.
Volume rendering, implemented in Godot Engine.
This addon contains two shaders meant to be used as a material for terrain objects. The shaders support color, normal, roughness and metallic maps. They also provide a tile scrambling feature that gets rid of obvious repeated patterns. You can also stack several different terrain shader on top of each other and use masks to blend between them.
Adds an outer or inner stroke to a texture. Just attach the shader to a ShaderMaterial and the ShaderMaterial to a Sprite2D or AnimatedSprite2D. Less suitable for textures with anti-aliased edges. Shader parameters:- color- width- pattern (diamond, circle, square)- inside- add_margins (to make room for an outline)- number_of_images (number of horizontal and vertical images in the sprite sheet)When using a sprite sheet: if the images contain a few semi-transparent pixels from adjacent images, try increasing the 0.0 at lines 41 and 69 to a value like 0.1.
A plugin to make writing compute shaders less painful. Supports Godot 4.0+, tested up to version 4.4dev2.