<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>edo_m18</author_name>
  <author_url>https://blog.hatena.ne.jp/edo_m18/</author_url>
  <blog_title>e.blog</blog_title>
  <blog_url>https://edom18.hateblo.jp/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>シェーダ</anon>
    <anon>AR</anon>
  </categories>
  <description>概要 ARコンテンツを作っているとキャラやオブジェクトの影をつけたくなります。 ただ、通常地面はARKitの機能で認識した平面に対して透明（か半透明）のメッシュを配置して表現します。 そしてUnityの標準のシェーダでは透明なオブジェクトには影が落ちません。 UnityのARKit Pluginには影を落とすためのシェーダが最初から用意されているのでそれを床面として配置したプレーンに設定してやれば影が落ちるようになります。 ただ、AR以外でも透明なオブジェクトに影を落としたいケースもあると思うので、その中で使われているシェーダを見つつ、ARKitではどうやって透明なオブジェクトに影を落としてい…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fedom18.hateblo.jp%2Fentry%2F2019%2F08%2F04%2F110439&quot; title=&quot;ARで影を描画する（影だけをレンダリングするシェーダ） - e.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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-08-04 11:04:39</published>
  <title>ARで影を描画する（影だけをレンダリングするシェーダ）</title>
  <type>rich</type>
  <url>https://edom18.hateblo.jp/entry/2019/08/04/110439</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
