<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>Holomoto-Sumire</author_name>
  <author_url>https://blog.hatena.ne.jp/Holomoto-Sumire/</author_url>
  <blog_title>夜風のMixedReality</blog_title>
  <blog_url>https://redhologerbera.hatenablog.com/</blog_url>
  <categories>
    <anon>Shader</anon>
    <anon>Unity</anon>
  </categories>
  <description>本日はShader学習枠です。また2022年最後の記事になります。本年は毎日ブログを更新できました。23年も毎日更新はもちろんのことですが、質もよくしていきたいと思います。 〇モザイクシェーダー 今回は画像をmosaicで表示する表現を紹介します。 ①新規のUnlitShaderを作成します。 デフォルトでは画像を張り付けることができます。 今回はこのシェーダーを改造して貼り付ける画像をモザイクにします。 ②ShaderのHlsl文内に次の関数を記述します。 void Posterize_float2(float2 In, float2 Steps, out float2 Out) { Out…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fredhologerbera.hatenablog.com%2Fentry%2F2022%2F12%2F31%2F202622&quot; title=&quot;ゼロから始めるUnityShader開発　第六章　モザイクシェーダー - 夜風のMixedReality&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/Holomoto-Sumire/20221231/20221231200853.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2022-12-31 20:26:22</published>
  <title>ゼロから始めるUnityShader開発　第六章　モザイクシェーダー</title>
  <type>rich</type>
  <url>https://redhologerbera.hatenablog.com/entry/2022/12/31/202622</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
