mirror of
https://github.com/FunkinCrew/Funkin.git
synced 2025-03-24 05:39:50 -04:00
shader update
This commit is contained in:
parent
7c46bcb707
commit
9fc3a46b48
1 changed files with 9 additions and 8 deletions
|
@ -52,6 +52,15 @@ class RuntimeRainShader extends RuntimePostEffectShader
|
|||
return intensity = value;
|
||||
}
|
||||
|
||||
// the y coord of the puddle, used to mirror things
|
||||
public var puddleY(default, set):Float = 0;
|
||||
|
||||
function set_puddleY(value:Float):Float
|
||||
{
|
||||
this.setFloat('uPuddleY', value);
|
||||
return puddleY = value;
|
||||
}
|
||||
|
||||
public var groundMap(default, set):BitmapData;
|
||||
|
||||
function set_groundMap(value:BitmapData):BitmapData
|
||||
|
@ -61,14 +70,6 @@ class RuntimeRainShader extends RuntimePostEffectShader
|
|||
return groundMap = value;
|
||||
}
|
||||
|
||||
public var puddleMap(default, set):BitmapData;
|
||||
|
||||
function set_puddleMap(value:BitmapData):BitmapData
|
||||
{
|
||||
this.setBitmapData('uPuddleMap', value);
|
||||
return puddleMap = value;
|
||||
}
|
||||
|
||||
public var lightMap(default, set):BitmapData;
|
||||
|
||||
function set_lightMap(value:BitmapData):BitmapData
|
||||
|
|
Loading…
Add table
Reference in a new issue