<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirasho0</author_name>
  <author_url>https://blog.hatena.ne.jp/hirasho0/</author_url>
  <blog_title>KAYAC Engineers' Blog</blog_title>
  <blog_url>https://techblog.kayac.com/</blog_url>
  <categories>
    <anon>unity</anon>
    <anon>shader</anon>
    <anon>math</anon>
  </categories>
  <description>画面写真をクリックするとWebGLビルドに飛びます。 こんにちは。技術部平山です。 今回は「高さ方向に変化があるフォグ」について扱います。 Unityに標準では入っていない奴で、 「地面付近に水蒸気が溜まってる感」とか「毒の沼地から怪しい霧が立ち登ってる感」 を出すのに使えます。京セラのS2(2014年のiPhone6plusの1/8くらいのGPU性能)でもまあまあ動きますので、 速度的な問題はあまりないでしょう。 ソースコードはgithubに置いてありますが、 残念ながら標準シェーダをコピーしてそこに追加してある、という形ではなく、 単にフォグだけやるシェーダを作っただけですから、すぐには使…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftechblog.kayac.com%2Funity-height-related-fog&quot; title=&quot;高さの影響を受けるフォグ 〜「低い所にガスが溜まってる」感を出す〜 - KAYAC Engineers&amp;#39; Blog&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/hirasho0/20190813/20190813083217.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-19 08:00:00</published>
  <title>高さの影響を受けるフォグ 〜「低い所にガスが溜まってる」感を出す〜</title>
  <type>rich</type>
  <url>https://techblog.kayac.com/unity-height-related-fog</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
