<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hecomi</author_name>
  <author_url>https://blog.hatena.ne.jp/hecomi/</author_url>
  <blog_title>凹みTips</blog_title>
  <blog_url>https://tips.hecomi.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>Shader</anon>
  </categories>
  <description>はじめに 前回はノイズ関数で作る雲についての話をしました。 tips.hecomi.com おわりに書いたように、今回はポリゴンオブジェクトによる遮蔽およびループの最適化についての話をしようと思います。 サンプル github.com 8. AABB Intersection 2 および 9. Occlusion が今回の範囲になります。 ループの最適化 前回の記事では、キューブポリゴンの中にレイがいるかどうかの判定を以下のコードで行っていました。 if (!all(max(0.5 - abs(localPos), 0.0))) break; これについてはこの記事で解説を行っています。XYZ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftips.hecomi.com%2Fentry%2F2020%2F05%2F27%2F012539&quot; title=&quot;Unity でボリュームレンダリングをしてみる - vol.5 遮蔽とループの最適化 - 凹みTips&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>https://cdn-ak.f.st-hatena.com/images/fotolife/h/hecomi/20200527/20200527004807.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2020-05-27 01:25:39</published>
  <title>Unity でボリュームレンダリングをしてみる - vol.5 遮蔽とループの最適化</title>
  <type>rich</type>
  <url>https://tips.hecomi.com/entry/2020/05/27/012539</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
