<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>yunagi_n</author_name>
  <author_url>https://blog.hatena.ne.jp/yunagi_n/</author_url>
  <blog_title>なつねこメモ</blog_title>
  <blog_url>https://tech.natsuneko.blog/</blog_url>
  <categories>
    <anon>C#</anon>
    <anon>Unity</anon>
  </categories>
  <description>最近は Toon Shader の勉強をしている私です。 Unity のシェーダーでは C# コードで GUI を自分で組めるのですが、 Tiling と Offset に対応していると、邪魔だと感じるときがあるので、良い感じに表示するための方法。 普通に作るとこんな感じになるとおもいます。 public override void OnGUI(MaterialEditor me, MaterialProperty[] properties) { me.TexturePropertySingleLine(new GUIContent(&quot;Main Texture&quot;, _MainTex, _Col…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftech.natsuneko.blog%2Fentry%2F2021%2F01%2F11%2Funity-custom-shader-gui-tiling-offset&quot; title=&quot;Unity のカスタムシェーダー GUI で、Tiling &amp;amp; Offset を良い感じに表示したい - なつねこメモ&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://assets.natsuneko.blog/images/20210111/20210111183524.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2021-01-10 15:00:00</published>
  <title>Unity のカスタムシェーダー GUI で、Tiling &amp; Offset を良い感じに表示したい</title>
  <type>rich</type>
  <url>https://tech.natsuneko.blog/entry/2021/01/11/unity-custom-shader-gui-tiling-offset</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
