<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>mrsharpoblunto</author><text>Great job explaning the whole process! I&amp;#x27;ve been building some similar stuff recently for my procedural space-exploration side project (&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;www.threads.net&amp;#x2F;@mrsharpoblunto&amp;#x2F;post&amp;#x2F;CufzeNxt9Ol&quot; rel=&quot;nofollow noreferrer&quot;&gt;https:&amp;#x2F;&amp;#x2F;www.threads.net&amp;#x2F;@mrsharpoblunto&amp;#x2F;post&amp;#x2F;CufzeNxt9Ol&lt;/a&gt;). I was planning to do a dev blog post writing a lot of the details up, but yours covers most of the tricks :)&lt;p&gt;A couple of extra things I ended up doing were:&lt;p&gt;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 &amp;amp; just rendering the low-res 2D texture without any jarring transition.&lt;p&gt;2) Using some atmospheric simulation to colorize the clouds for sunrise&amp;#x2F;sunset. To make this performant I had to build some lookup tables for the atmospheric density at given angles of the sun.&lt;p&gt;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.</text><parent_chain></parent_chain></comment><story><title>Real-time dreamy Cloudscapes with Volumetric Raymarching</title><url>https://blog.maximeheckel.com/posts/real-time-cloudscapes-with-volumetric-raymarching/</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>atum47</author><text>very 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.&lt;p&gt;this not, by any means, the best way of doing it, but I felt it was a bit easier writing GLSL code.&lt;p&gt;&lt;a href=&quot;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;victorqribeiro&amp;#x2F;3Dengine&amp;#x2F;blob&amp;#x2F;master&amp;#x2F;js&amp;#x2F;ShaderProgram.js&quot;&gt;https:&amp;#x2F;&amp;#x2F;github.com&amp;#x2F;victorqribeiro&amp;#x2F;3Dengine&amp;#x2F;blob&amp;#x2F;master&amp;#x2F;js&amp;#x2F;Sh...&lt;/a&gt;</text><parent_chain></parent_chain></comment><story><title>Real-time dreamy Cloudscapes with Volumetric Raymarching</title><url>https://blog.maximeheckel.com/posts/real-time-cloudscapes-with-volumetric-raymarching/</url></story>