Don't include the shaderlib in the application anymore, instead distribute a zip file with each release
This commit is contained in:
parent
1ee3088cce
commit
da1bd6a58a
11 changed files with 21 additions and 24 deletions
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
shader_type canvas_item;
|
||||
|
||||
#include "res://shaderlib/oklab.gdshaderinc"
|
||||
#include "./shaderlib/oklab.gdshaderinc"
|
||||
|
||||
//!load ./images/swamp.jpg
|
||||
|
||||
|
|
|
@ -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
1
examples/shaderlib
Symbolic link
|
@ -0,0 +1 @@
|
|||
../shaderlib
|
Loading…
Add table
Add a link
Reference in a new issue