Khas Advanced Fog v3.0

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
380
First Language
Portuguese
Primarily Uses
RMMV
@Ally what's your system? Did you remove/add again the plugin in the plugin manager?
 

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k
@Ally what's your system? Did you remove/add again the plugin in the plugin manager?
MV version 1.5...
Yes, I have add again the plugin in the plugin manager, but receive ever this error...

EDIT:
@Khas even within your demo, I get the same mistake.
 

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
380
First Language
Portuguese
Primarily Uses
RMMV
@Ally interesting... what's your operating system?
 

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
380
First Language
Portuguese
Primarily Uses
RMMV
@Ally I'm thinking about just dropping support for this plugin. The MV engine/Pixi.js have unexpected behavior related to shaders and stuff that I can't guarantee it will run well on all platforms. I thought I fixed it in the last update, but it seems I didn't.

You could try to use it with variable density OFF.
 

Ally

Linked Rooms Games Founder - Fleshforward
Member
Joined
Mar 17, 2012
Messages
332
Reaction score
154
First Language
Italy
Primarily Uses
RM2k
@Ally I'm thinking about just dropping support for this plugin. The MV engine/Pixi.js have unexpected behavior related to shaders and stuff that I can't guarantee it will run well on all platforms. I thought I fixed it in the last update, but it seems I didn't.

You could try to use it with variable density OFF.
Without variable density, work ^^
 

Chaos17

Dreamer
Veteran
Joined
Mar 13, 2012
Messages
1,311
Reaction score
485
First Language
French
Rpg maker Mv 1.5 seems to have broken some stuff related to graphics.

So Yanfly release a fix and maybe it could help you Khas so you won't drop this plugin ? (just trying to help)
 

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
380
First Language
Portuguese
Primarily Uses
RMMV
@Chaos17 this script actually doesn't use any graphic file, so I believe this isn't related to it.
It's an issue related to compilation of GLSL shaders, which PIXI manages differently in different platforms.
 

Tuomo L

Oldbie
Veteran
Joined
Aug 6, 2012
Messages
2,326
Reaction score
1,286
First Language
Finnish
Primarily Uses
RMMV
Fog and lightning together looks very gnarly. Is there any way to have my map have both light and fog?
 

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
380
First Language
Portuguese
Primarily Uses
RMMV
@Tuomo L try changing the order of the plugins in the plugin manager :)
 

Parallax Panda

Got into VxAce ~2014 and never stopped...
Veteran
Joined
Oct 29, 2015
Messages
1,064
Reaction score
1,326
First Language
Swedish
Primarily Uses
RMVXA
@Khas
Hey, I'm just wondering on what layer the fog appears? I've noticed there are not settings for layers in this plugin so I guess it can't be changed, correct? It seems to display itself even above my overlay layer which I wish it didn't. It still looks fine, but when using this plugin inside a dungeon I think it would look much cooler if the fog wasn't above the black nothingness that appears outside of the walls.

Just thought I should ask if there is there anything that can be done about this?

Thanks for making this!
 

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
380
First Language
Portuguese
Primarily Uses
RMMV
@Parallax Panda try changing the order of the plugins. I can't guarantee that it will be displayed in the correct order with other plugins, but switching their order in the plugin manager might solve that (if you're using my fog and lighting plugins, you can do that to change the order).
 

Parallax Panda

Got into VxAce ~2014 and never stopped...
Veteran
Joined
Oct 29, 2015
Messages
1,064
Reaction score
1,326
First Language
Swedish
Primarily Uses
RMVXA
@Khas
Thank you for your suggestion. I'm doing parallax mapping with pictures and for it I'm using Galv's Layer Graphics as well as TDD's Bind Picture to map, which haven't been updated since 2015-11-14! That makes me believe TDD's plugin might not be perfectly compatible with MV's current version or other plugins anymore.:kaocry:It's somewhat working for me ATM though, and sadly there are no alternative plugins for binding pictures to the map.

Funny enough, your plugin plays nice with TDD's old plugin and if I place a picture on the "top" layer it will actually display above your fog!
Galv's Layer Graphics does not work well at all though. If I want the fog above everything it works, but only if I place your plugin above Galv's. If I place his plugin above yours, HIS plugin stops working and don't display anything. Quite odd since you would assume the opposite would happen if there was a problem, right? Well, that incompatibility might be on Galv? I don't know.

I guess I could change my parallax maps to only use TDD's Bind Picture to Map and ditch Galv's plugin. But, deleting and binding pictures on each transfer is much more inconvenient than just adding a tag in the map's note section. Also it's a little scary to heavily depend on a plugin that have not been updated in such a long time... (and has probably been abandoned since there isn't much activity in the forum topic either) :kaodes:

EDIT; Actually, I know you're not working on your plugins anymore but IF you'd ever come back to them. Would a plugin setting for choosing a Z layer for the fog be an easy implementation and something you would consider? It's about the only thing I can think of that would make this plugin even more awesome.
 
Last edited:

Khas

Detective lv73
Veteran
Joined
Sep 16, 2012
Messages
282
Reaction score
380
First Language
Portuguese
Primarily Uses
RMMV
@Parallax Panda all of this may depend on the order the layers are declared. Some people may declare their variables before mine, some may do it later. This is also the reason why switching their order in the plugin manager matters. However, if the plugin maker has chosen to inject the sprite declaration on a different function, the order on the editor won't matter and there's not much I could do, as it's not a simple Z value setting.

You probably heard me complaining about this before, but if Pixi.js and MV used GPU Z-Buffering, the solution of this would be trivial and more complex effects would be possible. Unfortunately, this is not the case and to fix compatibility between these plugins would need work on both sides.

Edit: just to add more to the explanation, there's no such thing as layers between plugins that use sprites, unless they're made specifically to work together (as my lighting/fog plugins)
 

Kupotepo

Fantasy realist/Advocatus Diaboli
Veteran
Joined
Jul 5, 2017
Messages
1,939
Reaction score
2,064
First Language
Thai
Primarily Uses
RMMV
@Khas, sorry, the link is broken.
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Profile Posts

I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:
attack on titan final season is airing tomorrow, I'm excited and scared at the same time!

Forum statistics

Threads
105,882
Messages
1,017,230
Members
137,607
Latest member
Maddo
Top