0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Update LSD shader to work in 24w33a

This commit is contained in:
Alexander01998 2024-08-21 21:55:31 +02:00
parent 1cb9590c96
commit b62711a986
3 changed files with 17 additions and 18 deletions

View File

@ -1,17 +1,27 @@
{
"targets": [
"swap"
],
"targets": {
"swap": {}
},
"passes": [
{
"name": "lsd",
"intarget": "minecraft:main",
"outtarget": "swap"
"inputs": [
{
"sampler_name": "Diffuse",
"target": "minecraft:main"
}
],
"output": "swap"
},
{
"name": "blit",
"intarget": "swap",
"outtarget": "minecraft:main"
"inputs": [
{
"sampler_name": "In",
"target": "swap"
}
],
"output": "minecraft:main"
}
]
}

View File

@ -5,8 +5,6 @@ uniform sampler2D DiffuseSampler;
in vec2 texCoord;
in vec2 oneTexel;
uniform vec2 InSize;
uniform float Time;
uniform vec2 Frequency;
uniform vec2 WobbleAmount;

View File

@ -38,15 +38,6 @@
1.0
]
},
{
"name": "InSize",
"type": "float",
"count": 2,
"values": [
1.0,
1.0
]
},
{
"name": "OutSize",
"type": "float",