mirror of
https://github.com/ninjamuffin99/Funkin.git
synced 2024-08-20 07:25:59 +00:00
shader update
This commit is contained in:
parent
7c46bcb707
commit
9fc3a46b48
|
@ -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…
Reference in a new issue