[NEW] Volumetric Lighting / Fog Implementation

Volumika but it doesn’t costs 50 dollars, very cool resource.

7 Likes

Whoopsies, seems like copy-paste didn’t work correctly. Will fix that

this is very cool! how is the performance on games with this engine though.

1 Like

You can check my pictures and take a look at my FPS…

are you using integrated graphics?

I’m using the normal graphics level (level 10)

Here’s a great blog post on the implementation(I assume)

1 Like

It is highly performant on decent devices, running at +60 fps with max graphics, but it can vary depending on the game and how it is optimized.

1 Like

This is super sick. I used this to make a showcase and it turned out really nice, 100% recommend

10 Likes

This is all due to the fact that Roblox optimizes Particle Emitters for you, but if you tried to make a volumetric light using BillboardGui, you would have to optimize its work yourself; I have not yet seen such developments on the forum. I would really like to compare your volumetric mist and VOLUMICA.

1 Like

you have the same specs as me and run at the same fps

how did you make the aurora?


combination of beams and layering. here’s the rbxm if you want to see how i did it
aurora.rbxm (6.1 KB)

2 Likes

Thanks! But mine still looks way worse compared to urs idk why

a lot of it is how you set up your scene. get the right camera angle, lighting, so much goes into it other than just the effect itself.

UPDATE | New implementation using beams

Roblox updated his graphics engine, allowing beams to be illuminated by any light source.

I remade all the code to use beams. The new implementation works by creating multiple layers of beams that have a separation between them, and each layer has a noise texture to create a dithering effect.

This makes the fog softer, solving the light-leaking problem that particles have and also makes the sunlight’s shadows to be sharp.

Beams are less performant than particles.


NEW IMPLEMENTATION vs OLD IMPLEMENTATION




You can get the new model here:
Volumetric Fog 2.0.0.rbxm (3.9 KB)

You can test it here:

2 Likes

How performant is this? Could it be used in large numbers?

It fully depends on the device and how well optimized is the game you’re gonna use this on. If you’re searching for good volumetric lightning, use the beams implementation, but if you need performance, use the particle implementation.

Also, you can tweak some of the settings to get more performance, like reducing the layers/particles.

1 Like

Hi, I feel like the lighting fog is a bit too spread out :frowning: It’d be nice if it did something like this instead

image

Set the ShadowSoftness lightning property to “0” in your game

That will make the sunlight shadows sharper, achieving that effect.

2 Likes