<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Shader recognises distance from camera in Visualization</title>
    <link>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219190#M9597</link>
    <description>Similar to the 'air perspective' from the sketch render then, I assume?&lt;BR /&gt;
&lt;BR /&gt;
I would actually suggest 'distance fog' in the cinerender detailed settings. I know you explicitly said it had to be a surface setting, but this does exactly what you describe. You can untick 'affect background' to keep your environment background clear.&lt;BR /&gt;
&lt;BR /&gt;
Just did a quick test with a white colour and fairly high distance from the camera you can wash out the colours that are far from the camera. Try playing with the strength setting too.</description>
    <pubDate>Thu, 05 Aug 2021 12:15:27 GMT</pubDate>
    <dc:creator>Erwin Edel</dc:creator>
    <dc:date>2021-08-05T12:15:27Z</dc:date>
    <item>
      <title>Shader recognises distance from camera</title>
      <link>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219189#M9596</link>
      <description>&lt;DIV class="actalk-migrated-content"&gt;&lt;T&gt;Hi, does anyone know if any of the shaders can change their output based on distance from the camera? So achieving something like Fog in the scene, but through the surface rather than the render settings.&lt;BR /&gt;
&lt;BR /&gt;
I'm messing around with stylised render settings and it'd be useful to fade stuff in the background...&lt;/T&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 11 May 2023 09:51:00 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219189#M9596</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2023-05-11T09:51:00Z</dc:date>
    </item>
    <item>
      <title>Re: Shader recognises distance from camera</title>
      <link>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219190#M9597</link>
      <description>Similar to the 'air perspective' from the sketch render then, I assume?&lt;BR /&gt;
&lt;BR /&gt;
I would actually suggest 'distance fog' in the cinerender detailed settings. I know you explicitly said it had to be a surface setting, but this does exactly what you describe. You can untick 'affect background' to keep your environment background clear.&lt;BR /&gt;
&lt;BR /&gt;
Just did a quick test with a white colour and fairly high distance from the camera you can wash out the colours that are far from the camera. Try playing with the strength setting too.</description>
      <pubDate>Thu, 05 Aug 2021 12:15:27 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219190#M9597</guid>
      <dc:creator>Erwin Edel</dc:creator>
      <dc:date>2021-08-05T12:15:27Z</dc:date>
    </item>
    <item>
      <title>Re: Shader recognises distance from camera</title>
      <link>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219191#M9598</link>
      <description>Thanks, but I'm potentially wanting to do more than just fade it out - might be useful to use as a mask to apply a different effect or something...</description>
      <pubDate>Thu, 05 Aug 2021 13:27:28 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219191#M9598</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2021-08-05T13:27:28Z</dc:date>
    </item>
    <item>
      <title>Re: Shader recognises distance from camera</title>
      <link>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219192#M9599</link>
      <description>You are wanting a zdepth layer? I do not recall there being an option for that in Cinerender... maybe make a wish?</description>
      <pubDate>Fri, 06 Aug 2021 01:25:49 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219192#M9599</guid>
      <dc:creator>Lingwisyer</dc:creator>
      <dc:date>2021-08-06T01:25:49Z</dc:date>
    </item>
    <item>
      <title>Re: Shader recognises distance from camera</title>
      <link>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219193#M9600</link>
      <description>Not a ZDepth - something in a shader. I know some of the shaders have options around which space they work in (texture / world / camera / etc), so wondered if there was one that used camera space and could respond to distance - I'm guessing not.</description>
      <pubDate>Fri, 06 Aug 2021 14:36:43 GMT</pubDate>
      <guid>https://community.graphisoft.com/t5/Visualization/Shader-recognises-distance-from-camera/m-p/219193#M9600</guid>
      <dc:creator>derekjackson</dc:creator>
      <dc:date>2021-08-06T14:36:43Z</dc:date>
    </item>
  </channel>
</rss>

