<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>r-ngtm</author_name>
  <author_url>https://blog.hatena.ne.jp/r-ngtm/</author_url>
  <blog_title>rn.log</blog_title>
  <blog_url>https://r-ngtm.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>はじめに 自前で用意したレンダーターゲットにオブジェクトを描画する時、デプスバッファが正しく指定されていない場合にZテストが正常に機能しません。 今回の記事では、Zテストが正常に機能しないケースの実装と、Zテストが正常に機能するケースの2つを紹介したいと思います。 環境 Universal RP 10.8.1 Unity2020.3.32f1 ScriptableRenderPassのConfigure ScriptableRenderPassを用いてオブジェクト描画する処理を自前で実装したいケースを考えます。 ScriptableRenderPassを継承したクラスでは、ConfigureT…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fr-ngtm.hatenablog.com%2Fentry%2F2024%2F03%2F12%2F015636&quot; title=&quot;【URP10.8.1】ConfigureTargetでDepthバッファを指定しないとZテストが機能しない件についてメモ - rn.log&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/r/r-ngtm/20240312/20240312012816.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-03-12 01:56:36</published>
  <title>【URP10.8.1】ConfigureTargetでDepthバッファを指定しないとZテストが機能しない件についてメモ</title>
  <type>rich</type>
  <url>https://r-ngtm.hatenablog.com/entry/2024/03/12/015636</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
