Don't include the shaderlib in the application anymore, instead distribute a zip file with each release

This commit is contained in:
ChaoticByte 2025-02-04 18:59:57 +01:00
parent 1ee3088cce
commit da1bd6a58a
No known key found for this signature in database
11 changed files with 21 additions and 24 deletions

View file

@ -1,7 +1,7 @@
shader_type canvas_item;
//!load ./images/swamp.jpg
#include "res://shaderlib/blur.gdshaderinc"
#include "./shaderlib/blur.gdshaderinc"
void fragment() {
COLOR = gaussian_blur(TEXTURE, UV, 48, 24.0);

View file

@ -1,7 +1,7 @@
shader_type canvas_item;
#include "res://shaderlib/hsv.gdshaderinc"
#include "res://shaderlib/pixelate.gdshaderinc"
#include "./shaderlib/hsv.gdshaderinc"
#include "./shaderlib/pixelate.gdshaderinc"
//!load ./images/swamp.jpg

View file

@ -2,7 +2,7 @@ shader_type canvas_item;
//!load ./images/noisy.png
#include "res://shaderlib/denoise.gdshaderinc"
#include "./shaderlib/denoise.gdshaderinc"
void fragment() {
COLOR = smart_denoise(TEXTURE, UV, 12.0, 1.0, .12);

View file

@ -2,8 +2,8 @@ shader_type canvas_item;
//!load ./images/mountain.jpg
#include "res://shaderlib/kuwahara.gdshaderinc"
#include "res://shaderlib/hsv.gdshaderinc"
#include "./shaderlib/kuwahara.gdshaderinc"
#include "./shaderlib/hsv.gdshaderinc"
void fragment() {
// Kuwahara

View file

@ -1,6 +1,6 @@
shader_type canvas_item;
#include "res://shaderlib/oklab.gdshaderinc"
#include "./shaderlib/oklab.gdshaderinc"
//!load ./images/swamp.jpg

View file

@ -1,7 +1,7 @@
shader_type canvas_item;
#include "res://shaderlib/place_texture.gdshaderinc"
#include "res://shaderlib/common.gdshaderinc"
#include "./shaderlib/place_texture.gdshaderinc"
#include "./shaderlib/common.gdshaderinc"
//!load ./images/swamp.jpg
//!load+ img2 ./images/grass.png

1
examples/shaderlib Symbolic link
View file

@ -0,0 +1 @@
../shaderlib