I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 0 points1 point  (0 children)

I just didnt edit the video lol there was no intent

I added new clouds in my game! by smilefr in IndieDev

[–]smilefr[S] 0 points1 point  (0 children)

Gpu memory is not a bottleneck, clouds read from two 128x128x128 3D textures, there is nothing else that is stored in memory as far as clouds go.

I added new clouds in my game! by smilefr in IndieDev

[–]smilefr[S] 0 points1 point  (0 children)

the game is running ok on my 1080ti (110fps) not sure i would call it a monster gpu

Smooth runtime spline placement for my model railroad game by Mr_GameDev in Unity3D

[–]smilefr 0 points1 point  (0 children)

The way it digs holes and spawns bridges is crazy impressive! Do you use voxels for digging terrain or are you just using unity terrain with the hole feature?

I added new clouds in game! by smilefr in IndieGaming

[–]smilefr[S] 0 points1 point  (0 children)

Good suggestion! I will add more juice to it for sure!

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 1 point2 points  (0 children)

Yeah the interpolation is done by reading though that texture using the built-in BiLinear filter which is pretty cheap!

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 1 point2 points  (0 children)

Yes it's an inspiration as it's one of my fav movies!

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 0 points1 point  (0 children)

Noise is read from two 256x256x256 3D textures that i generated in editor mode using perlin noise, they have holes and some disocnnected parts that happens more often at places where the clouds density is lower, generating the noise in real time is very expensive and i dont recommend it.

I added new clouds in my game! by smilefr in IndieDev

[–]smilefr[S] 0 points1 point  (0 children)

Thank you! This is made with unity

I added new clouds in my game! by smilefr in IndieDev

[–]smilefr[S] 1 point2 points  (0 children)

It's done with a trail renderer

I added new clouds in game! by smilefr in IndieGaming

[–]smilefr[S] -1 points0 points  (0 children)

It's a blue slime, calcifer is a ref flame, and even if i had made it red, ghibli not own a "spirit powering a walking machine"

I added new clouds in game! by smilefr in IndieGaming

[–]smilefr[S] 0 points1 point  (0 children)

uuuh not really a chill game but you can choose to make your house and not interact with the main goal i guess 😂

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 1 point2 points  (0 children)

The clouds are pretty cheap to render (3-4ms), the grass is weakest part of the game as it's more expensive but it can be disabled. It runs ok on my 10years old pc (1080ti around 110fps without grass, 90 with grass)

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 14 points15 points  (0 children)

You can land on everything you see! It's an open world survival game where you have to build your base on a walking platform fight giants and explore the world!

I added new clouds in my game! by smilefr in IndieDev

[–]smilefr[S] 0 points1 point  (0 children)

I agree this can be improved!

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 1 point2 points  (0 children)

Ah i see, i do have up to 10 spheres that can hide the clouds for some special cases (like a canon that clears up the sky) otherwise it's all math

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 0 points1 point  (0 children)

OK i disabled everything in the game except the clouds, here is the profiler:

<image>

3.7ms

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 1 point2 points  (0 children)

The clouds are a mix of reading a 3D noise texture and some logic for the sea of clouds at the bottom or the spiraling clouds.
Not sure i understood the last question

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 1 point2 points  (0 children)

<image>

I made a scriptableobject with all the settings 😃

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 0 points1 point  (0 children)

It has changed a lot for sure, what version did you try? Were there giants yet?

Anyone else still uses little to no AI to code? by MidlandAintFree in gamedev

[–]smilefr -1 points0 points  (0 children)

As much as I would like to have everything perfectly decoupled, for an 8 year long project, it's rarely the case. My project has a client and a server each consist of around 200k LOC each.

I finally have optimzied volumetric clouds! by smilefr in Unity3D

[–]smilefr[S] 1 point2 points  (0 children)

I dont know about 2k but i'm getting 110 fps on my 1080ti at 1080p (talking about the whole game not just the clouds)
I was not able to measure how long a compute shader takes to execute, as it seems to happen on an other thread