<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yasuda0404</author_name>
  <author_url>https://blog.hatena.ne.jp/yasuda0404/</author_url>
  <blog_title>Unityな日々（Unity Geek）</blog_title>
  <blog_url>https://unitygeek.hatenablog.com/</blog_url>
  <categories>
    <anon>script-発展</anon>
    <anon>レンダリング</anon>
  </categories>
  <description>Unityで、GameObjectの一部にマスクをかけるには、DepthMaskを使う。 参考：Unity - Manual: ShaderLab syntax: SubShader Tags 1. Maskとなるオブジェクトの設定 1-1. 新規シェーダを作成。Maskシェーダのスクリプト（下記）を記述する。 Maskオブジェクトの順番を、レギュラー・ジオメトリとマスクをかけるジオメトリの間に設定している。 Shader &quot;Masked/Mask&quot; { SubShader { // Render the mask after regular geometry, but before mask…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Funitygeek.hatenablog.com%2Fentry%2F2013%2F04%2F01%2F164040&quot; title=&quot;オブジェクトの一部をマスクする - Unityな日々（Unity Geek）&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>http://cdn-ak.f.st-hatena.com/images/fotolife/y/yasuda0404/20130401/20130401142827.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2013-04-01 16:40:40</published>
  <title>オブジェクトの一部をマスクする</title>
  <type>rich</type>
  <url>https://unitygeek.hatenablog.com/entry/2013/04/01/164040</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
