All Projects → gamedevserj → Godot Shaders

gamedevserj / Godot Shaders

Licence: mit
A collection of various shader effects for Godot game engine

Labels

Projects that are alternatives of or similar to Godot Shaders

Shadertutorialseries
source code for the YouTube series
Stars: ✭ 86 (-20.37%)
Mutual labels:  glsl
Unityindieeffects
True Image Effects for Unity Indie
Stars: ✭ 96 (-11.11%)
Mutual labels:  glsl
Gdx Vfx
LibGDX post-processing visual effects
Stars: ✭ 105 (-2.78%)
Mutual labels:  glsl
Threejs Starter
Stars: ✭ 89 (-17.59%)
Mutual labels:  glsl
Ar Sdk
DuMix AR SDK for Developer
Stars: ✭ 93 (-13.89%)
Mutual labels:  glsl
Glsleditor
Simple WebGL Fragment Shader Editor
Stars: ✭ 1,345 (+1145.37%)
Mutual labels:  glsl
Threejs Es6 Webpack Starter
Three.js ES6 starter project with a sane webpack configuration
Stars: ✭ 85 (-21.3%)
Mutual labels:  glsl
Three.meshline
Mesh replacement for THREE.Line
Stars: ✭ 1,644 (+1422.22%)
Mutual labels:  glsl
Unity3dprojectionmapping
Projection Mapping Tests and Shaders using Unity 3D
Stars: ✭ 94 (-12.96%)
Mutual labels:  glsl
Osu Resources
assets used by osu!
Stars: ✭ 102 (-5.56%)
Mutual labels:  glsl
Medium
Progressive WebGL toolkit for art.
Stars: ✭ 90 (-16.67%)
Mutual labels:  glsl
Kinectazuredkprogramming
Samples about Kinect Azure DK programming
Stars: ✭ 92 (-14.81%)
Mutual labels:  glsl
Webassembly Raytracer
a performance comparison of a simple raytracer in JavaScript, asm.js, WebAssembly, and GLSL
Stars: ✭ 102 (-5.56%)
Mutual labels:  glsl
Lux 2.0
Lux 2.0
Stars: ✭ 86 (-20.37%)
Mutual labels:  glsl
D2 Plugy Qol
QOL Mod Pack for Diablo II.
Stars: ✭ 105 (-2.78%)
Mutual labels:  glsl
Cezanne
This is a project showing varied shading algorithms with a simple apple.
Stars: ✭ 85 (-21.3%)
Mutual labels:  glsl
Cs2x
Transpiles a C# subset to non .NET languages and runtimes. (Powered by Roslyn)
Stars: ✭ 97 (-10.19%)
Mutual labels:  glsl
Godot sky shader
Stars: ✭ 108 (+0%)
Mutual labels:  glsl
Decalco
Shader based decal solution for the Godot game engine
Stars: ✭ 107 (-0.93%)
Mutual labels:  glsl
Bos In Touchdesigner
Stars: ✭ 102 (-5.56%)
Mutual labels:  glsl

Godot shaders

A collection of shaders that I wrote in Unity converted to be used in Godot.

Godot version 3.2.1

Reflective water

This shader uses SCREEN_TEXTURE to display reflective image to simulate water. Just like the one in Unity it has some limitations.

Reflection is calculated using object's position, which means if you want to have reflection from top of the object then you need to set Y axis offset to half its height. Visible height of the water object can not exceed the distance to the top of the screen.

Adjustable parameters:
Reflection offset
Reflection blur(1)
Distortion
Waves
Shoreline
Shoreline foam

(1) Reflection blur is only available when project's dirver is set to GLES3, which might break effect stacking (eg. impact effect might completely remove water). A way to deal with this is described here.

Here's an example of the limitations.

In the first image the water starts from the bottom of the screen and goes up to the middle. Which means its visible height is equal to the distance to the top of the screen. In the second image camera is moved lower, which results in water height being greater than the distance to the top. In the third image the water is way higher than the middle of the screen, but its height is smaller that the distance to the top, so reflections work properly. Examples 2 and 3 do not feature reflections squashing, squashing the reflection results in a greater area being reflected which means that object's visible height must be smaller.

The scene contains a script that allows camera to move(WASD keys) and zoom(mouse scroll).

Impact effect/shockwave

Impact effect similar to the one produced by a shockwave during explosion. Can be used as a magic spell, terrain deformation effect.

Uses SCREEN_TEXTURE and offsets color using the circular gradient noise as a guide.

Click anywhere in the demo scene to produce the effect.

Dissolve

Dissolves the image using the noise as a guide.

Left click in the demo scene to dissolve sprite, right click to undo.

Magnifying glass

Magnifying glass effect. The script uses get_global_transform_with_canvas() to set the correct offset for the current position. When testing it on monitor with 1920x1080 resolution the magnification didn't work correctly if the display height was set above 850 and game window had border enabled. Without window border everything worked perfectly.

Changing edge distortion strength to positive/negative values results in simulating glass being concave/convex.

Use mouse wheel to zoom in/out.

Stealth cloak effect

Essentially this is a dissolve effect, that overlays one texture over another instead of simply changing the alpha.

Grass sway effect

A basic grass sway effect that modifies vertex positions to skew the object. In order for the effect to work properly modify offset to make object's origin to be at the bottom.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].