<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>olj611</author_name>
  <author_url>https://blog.hatena.ne.jp/olj611/</author_url>
  <blog_title>機械学習基礎理論独習</blog_title>
  <blog_url>https://olj611.hatenablog.com/</blog_url>
  <categories>
    <anon>WebGL2</anon>
  </categories>
  <description>頂点シェーダとフラグメントシェーダを別ファイルで管理したほうがよい 頂点シェーダとフラグメントシェーダを&lt;script&gt;タグ内に書く例をよく見かけますが、 あれは初心者向けの例であり、あまりよくないと思います。(プログラムを公開している人は勿論分かっている。) 頂点シェーダは xxx.vert、フラグメントシェーダは xxx.frag とするのが一般的なようです。 VSCodeで.vert,.fragを単語ごとに色付けしたい 以下をインストールするとよいかもしれません。 こんな感じで色が付きます。 テキストファイルの動的読み込み .vert も.frag も単なるテキストファイルなので、非同期…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Folj611.hatenablog.com%2Fentry%2F2024%2F04%2F29%2F221251&quot; title=&quot;GLSLを使いやすくする - 機械学習基礎理論独習&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/o/olj611/20240429/20240429221022.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2024-04-29 22:12:51</published>
  <title>GLSLを使いやすくする</title>
  <type>rich</type>
  <url>https://olj611.hatenablog.com/entry/2024/04/29/221251</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
