GL_Fog version 1.0.1

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
GL_Fog : 1.01
Author : Chaucer


Introduction :


A simple plugin which utilizes webgl to create randomized fog, no images required! Not only does this plugin create randomized fog, but it also simulates the movement of fog! This plugin is highly customizable, the fog has many parameters to help tailor it to your needs.

Features :
  • Create completely randomized fog.
  • No pictures required.
  • Highly customizable.

Screenshots :

Screenshot from 2020-01-22 14-38-47.png

Screenshot from 2020-01-22 14-38-54.png

Screenshot from 2020-01-22 14-39-02.png

Terms of use :
This Plugin may be used commercially, or non commercially so long as credit
is given, either in the games credit section, or in a text file alongside
the game. This plugin may NOT be sold, or Plagiarized. This plugin may
be extended upon, and shared freely.

Download :
GL Fog
 

Attachments

Last edited:

TenTranVN

Veteran
Veteran
Joined
Apr 13, 2017
Messages
165
Reaction score
17
First Language
Vietnam
Primarily Uses
RMMV
Can it be combined on a map! I mean opacity
.And does it reduce performance?
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
Combined on map? I'm not sure I follow, but the plugin adds fog to the map correct. You can adjust the opacity as well, yes. The fog will even transition to battles as well. :)

As for performance, there is some minor performance overhead. I wouldn't recommend adding this to a mobile game( it didn't work when I tried it, and the fps was really low ), but for the typical computer there shouldn't be any issue.
 

Creative Ed

Veteran
Veteran
Joined
Sep 16, 2013
Messages
301
Reaction score
319
First Language
Portuguese
Primarily Uses
RMMV
Looks awesome to create some dream sequences :)
Nice plugin!
 

beenbaba

Slowly getting there
Veteran
Joined
Apr 28, 2015
Messages
290
Reaction score
159
First Language
English
Screenshots don't do this plugin justice. It looks super nice and runs really well
 

pasunna

Veteran
Veteran
Joined
Feb 3, 2019
Messages
311
Reaction score
71
First Language
thai
Primarily Uses
RMMV
I'm confuse
is this just this command or there enable disable command I miss
because it's not working in new fresh project
3.JPG
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
I just tested out the issue you're having, and this was a minor oversight on my end it seems as though fadein is required, you could simple specify "fadein 1" at the end of the plugin arguments, and it should work, however I will fix it so that it is no longer required.


edit : actually, you know what? the issue is not what I initially thought, took me a while before I realized that colors are whole number values, not floats.

Code:
   argument[gl_fog] : color R G B
---------------------------------------
   description : Define the color of the fog R( red ) G( green ) and B( blue )
   are whole numbers, a number between 0 ( no color ) and 255 ( full color ),
   each value should be seperated by a space.alternatively, script snippets,
   can be spliced in instead of a number.
---------------------------------------
   example : color 255 100 50
   example : color $gameVariable.value(1) 100 $gameVariable.value(2)
The examples I posted were from a unreleased version before I realized float values don't work in variables, so I alrtered the way it works, I'll update the examples thanks for pointing this out.


edit2:
● Version : 1.0.1
● Date : 01/31/2020
✩ updated documentation.
 
Last edited:

Nicke

Fortune seeker
Veteran
Joined
Apr 4, 2012
Messages
545
Reaction score
545
First Language
Swedish
Primarily Uses
RMMV
Great plugin! I have a question. Is it possible to add a feature where you can specify a region or event for the fog to be placed at? Like say I have a big map and I want to hide certain places for the player until they go inside the fog.
 

chaucer

Veteran
Veteran
Joined
Aug 6, 2014
Messages
267
Reaction score
416
First Language
English
Primarily Uses
RMMV
Currently, it's not possible to do so with this plugin while it definitely is a possibility in the future, perhaps when I find time again. :)
 

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

Latest Threads

Latest Posts

Latest Profile Posts

My plan after learning to make my voice girly "Wow! You sounds cute!" "But actually I'm a man!" "Nooooo!!!" hehehe...
I get haunted from bugs that emit a terrible stench after being killed.
At first, I was going to put player objectives on the screen labeling it as "Helpful voices"... But that's dumb, I have a madness system. It will simply whisper objectives.... I mean they're probably objectives. The voices wouldn't lie right? They're friendly, and ...helpful. So clearly you should do what they say. Just watch the dark corners of your screen for advice and it will all work out! :LZSexcite:
Take care of your immune system: Go to sleep. If you looked at the clock an hour ago or four and it was way late then maybe now is the time. Mmm sleep...

Forum statistics

Threads
95,667
Messages
930,908
Members
126,004
Latest member
skyfox585
Top