<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kinakomoti321</author_name>
  <author_url>https://blog.hatena.ne.jp/kinakomoti321/</author_url>
  <blog_title>MochiMochi3D</blog_title>
  <blog_url>https://kinakomoti321.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>Shader芸をやってると何かと文字を使った表現やりたくなることがあります。私が知っている限りではフォントのテクスチャ、SDF、ドット絵の３つの表現方法があります。 テクスチャを使う ShadertoyではTexturesの中にFont1というフォント用のテクスチャが存在します。ぱっと見では色んな色が付いていて分かりづらいですが、このテクスチャのRにはフォントそのもの、Gにはxのグラディエント、Bにはyのグラディエント、Aにはフォントの距離関数が割り当てられています。 Font1 サンプルとして以下の作品があるため、これを確認すればわかると思います。 www.shadertoy.com 単に文…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkinakomoti321.hatenablog.com%2Fentry%2F2023%2F05%2F03%2F140251&quot; title=&quot;Shaderで文字を描く方法 - MochiMochi3D&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/k/kinakomoti321/20230503/20230503140338.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2023-05-03 14:02:51</published>
  <title>Shaderで文字を描く方法</title>
  <type>rich</type>
  <url>https://kinakomoti321.hatenablog.com/entry/2023/05/03/140251</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
