<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Techniques on Radiant SDF Docs</title><link>https://docs.radiant-pixel.com/radiantsdf/docs/techniques/</link><description>Recent content in Techniques on Radiant SDF Docs</description><generator>Hugo</generator><language>en-us</language><atom:link href="https://docs.radiant-pixel.com/radiantsdf/docs/techniques/index.xml" rel="self" type="application/rss+xml"/><item><title>Scaling Space</title><link>https://docs.radiant-pixel.com/radiantsdf/docs/techniques/scaling_space/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://docs.radiant-pixel.com/radiantsdf/docs/techniques/scaling_space/</guid><description>&lt;h1 id="scaling-space"&gt;Scaling Space&lt;/h1&gt;
&lt;p&gt;Scaling space sadly is not possible within a single node or Material function within UE5s material graph, as it would require passing the signed distance field as a function into the scaling node. However, the technique can still be performed though in a slightly awkward way.&lt;/p&gt;
&lt;figure class="node-visual"&gt;
 
 
 

 
 
 

 
 
 
 
 
 
 
 

 
 
 
 
 
 
 

 &lt;img hr-src="https://docs.radiant-pixel.com/radiantsdf/images/techniques/nodeGraph_ScaleSpace.avif" src="https://docs.radiant-pixel.com/radiantsdf/images/techniques/nodeGraph_ScaleSpace_prev.avif"
 alt="Scale Space Node Graph Simple" width="100%"&gt;
&lt;/figure&gt;

&lt;p&gt;In order for the scaling to work correctly, one needs to:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Divide the space by the desired Scale&lt;/li&gt;
&lt;li&gt;Calculate the signed distance field function that needs to be scale using the divided space&lt;/li&gt;
&lt;li&gt;Multiply the resulting signed distance field by the scale to keep the distance values correct&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;In order to do this for more complex shapes, I recommend to use named reroute nodes, this keeps the process a lot more tidy.&lt;/p&gt;</description></item></channel></rss>