Fix missing STEP variable by making it mandatory to be defined as a uniform in the shader file
This commit is contained in:
parent
7ad9ef002a
commit
cc59ba9b9e
3 changed files with 16 additions and 10 deletions
|
@ -3,6 +3,8 @@ shader_type canvas_item;
|
|||
//!steps 9
|
||||
//!load ./images/swamp.jpg
|
||||
|
||||
uniform int STEP;
|
||||
|
||||
const float strength = 0.01;
|
||||
|
||||
void fragment() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue