<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Takachan</author_name>
  <author_url>https://blog.hatena.ne.jp/Takachan/</author_url>
  <blog_title>PG日誌</blog_title>
  <blog_url>https://takap-tech.com/</blog_url>
  <categories>
    <anon>シェーダー</anon>
    <anon>Unity</anon>
  </categories>
  <description>トップダウンやクォータービューなどの見下ろし型の2Dゲームで、プレイヤーの操作キャラクター（もしくは敵キャラなど）が、高さのあるオブジェクトの後ろに回り込んだ時にオブジェクトに隠れて見えなくなった時、どこに居るのかが分からなくなってしまう事があります。この記事では後ろに回り込んだキャラクターにはシルエットを表示する方法を紹介したいと思います。 確認環境 概要・考え方 描画用のシェーダーとマテリアルを準備する キャラクター用のシェーダーを作成する オブジェクト用のシェーダーを作成する 参考 確認環境 この記事の動作確認環境は以下の通りです。 Unity 2021.2.11f1 ビルトインレンダー…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftakap-tech.com%2Fentry%2F2022%2F02%2F12%2F194032&quot; title=&quot;【Unity】2Dゲームでプレイヤーがオブジェクトに回り込んだ時にシルエットを表示する - PG日誌&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/T/Takachan/20220212/20220212181233.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-02-12 19:40:32</published>
  <title>【Unity】2Dゲームでプレイヤーがオブジェクトに回り込んだ時にシルエットを表示する</title>
  <type>rich</type>
  <url>https://takap-tech.com/entry/2022/02/12/194032</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
