Real-time dreamy Cloudscapes with Volumetric Raymarching
blog.maximeheckel.com
Real-time dreamy Cloudscapes with Volumetric Raymarching
1–10 of 12 posts
Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#21. yes I know it's common practice.
Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#3Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#4this not, by any means, the best way of doing it, but I felt it was a bit easier writing GLSL code.
https://github.com/victorqribeiro/3Dengine/blob/master/js/Sh...
Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#5very nice tutorial. If I can make one suggestion is to write the shaders in a GLSL file format (i.e.: .vs, .fs) then just get the text value from it; that way you can get your editor to highlight the GSLS syntax, which is pretty helpful when dealing with complex shaders. this not, by any means, the best way of doing it, but I felt it was a bit easier writing GLSL code. https://github.com/victorqribeiro/3Dengine/blob/…
Is that like a Unity or Unreal standard? The thing I'm familiar with is a single .glsl with a void fragment() and void vertex() etc. in it
Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#6very nice tutorial. If I can make one suggestion is to write the shaders in a GLSL file format (i.e.: .vs, .fs) then just get the text value from it; that way you can get your editor to highlight the GSLS syntax, which is pretty helpful when dealing with complex shaders. this not, by any means, the best way of doing it, but I felt it was a bit easier writing GLSL code. https://github.com/victorqribeiro/3Dengine/blob/…
> .vs, .fs Is that like a Unity or Unreal standard? The thing I'm familiar with is a single .glsl with a void fragment() and void vertex() etc. in it
Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#7A couple of extra things I ended up doing were:
1) Using a lower-res texture to modulate the high-res raymarched density, this gives you control over the overall macro shape of the clouds and allows you to transition between LOD better (i.e. as you move from ground level up to space you can lerp between the raymarched renderer & just rendering the low-res 2D texture without any jarring transition.
2) Using some atmospheric simulation to colorize the clouds for sunrise/sunset. To make this performant I had to build some lookup tables for the atmospheric density at given angles of the sun.
3) Altering the step size of the raymarch based on density, I took this from the Horizon Zero Dawn developers where they have a coarse raymarch and as soon as they get a dense enough sample they step back and switch to a higher res step until the density hits zero again.
Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#8- Technical
- Beautiful
- In-depth
- Well written
- With passion
Re: Real-time dreamy Cloudscapes with Volumetric Raymarching
#9very nice tutorial. If I can make one suggestion is to write the shaders in a GLSL file format (i.e.: .vs, .fs) then just get the text value from it; that way you can get your editor to highlight the GSLS syntax, which is pretty helpful when dealing with complex shaders. this not, by any means, the best way of doing it, but I felt it was a bit easier writing GLSL code. https://github.com/victorqribeiro/3Dengine/blob/…
> .vs, .fs Is that like a Unity or Unreal standard? The thing I'm familiar with is a single .glsl with a void fragment() and void vertex() etc. in it