<?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枠です。 今回はUnityでワールド空間上に任意の点を等間隔で指定し、描画するシェーダー表現を行います。 〇完成物 〇Unityの座標で定義される球 Unityの座標空間上に一定間隔で定義される球表現は以下の関数で行います。 float SphereGroupHard(float3 pos, float spacing, float radius) { // 等間隔グリッド上の最近接の中心座標を求める float3 gridCenter = round(pos / spacing) * spacing; // 現在位置とグリッド上の最近接中心との距離を計算 float d =…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fredhologerbera.hatenablog.com%2Fentry%2F2025%2F04%2F16%2F215711&quot; title=&quot;ゼロから始めるUnityShader開発　第六章　Unity座標で定義される球を使った表現 - 夜風の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/20250416/20250416210853.png</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-04-16 21:57:11</published>
  <title>ゼロから始めるUnityShader開発　第六章　Unity座標で定義される球を使った表現</title>
  <type>rich</type>
  <url>https://redhologerbera.hatenablog.com/entry/2025/04/16/215711</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
