Water Reflection and Parallax

Hey there! So I have been working on a dungeon for a second demo for my game. However, I wanted to do something visual for this demo, in this case, reflections in the water.

Spoiler: Reflection
cNebcTT.png


But I have run into a teeeeensy issue. I am also using Galv's parallax plugin, which allows for layered parallax. And...

Spoiler: OTHER Reflection
OuWaszG.png

The

He ends up Behind the clouds.

plugin I am using for the reflection is "specular reflection sprite"

Has anyone ever run into this? And does anyone have any idea how I can fix this particular problem? Whether it be a different plugin or not?
If the reflection is sorted with the z-order logic too, can't you use a different value for the clouds/background. I think Galv's plugin takes fractional and negative z values too.
If the reflection is sorted with the z-order logic too, can't you use a different value for the clouds/background. I think Galv's plugin takes fractional and negative z values too.
I thought of that too. No matter how low I put the negative on the Z access, the reflection is still behind the parallax
Hmmm, I guess it has to do with Galv putting layers in this._tilemap.addChild and that reflection plugin this._baseSprite.addChild So I guess you'd have to change where the reflection sprites are added, but I'm not good with that. You can just try to throw them in another container LOL. But yeah, there are dudes here who can tell you about it.
Hmmm, I guess it has to do with Galv putting layers in this._tilemap.addChild and that reflection plugin this._baseSprite.addChild So I guess you'd have to change where the reflection sprites are added, but I'm not good with that. You can just try to throw them in another container LOL. But yeah, there are dudes here who can tell you about it.
Dang, alright I will keep looking then. thank you for your time.
Well before you give up, try throwing them in different container. Change the plugin code near the end:

for (var i = 0; i < this._specularSprites.length; i++) {
this._tilemap.addChild(this._specularSprites[i]); // changed baseSprite to tilemap
}

Or ask Caethyril about it, LOL.

EDIT:
Maybe also change what z-value you give the reflection sprites
Sprite_Specular.prototype.updatePosition = function () {
this.x = this._character.screenX();
this.y = this._character.screenY() + this.offsetY();
this.z = this._character.screenZ(); // <- CHANGE THIS TO A NUMERICAL VALUE?
};

Original thread: https://forums.rpgmakerweb.com/threads/water-reflection-and-parallax.181026/