<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>brogmybana</author_name>
  <author_url>https://blog.hatena.ne.jp/brogmybana/</author_url>
  <blog_title>Behind Coleus</blog_title>
  <blog_url>https://brogmymxo.hatenablog.com/</blog_url>
  <categories>
  </categories>
  <description>よくわからないけど、上の式通りにプログラミングしたら、影ができたわ。あ、shininess(i)を忘れてたわ なんか手本と微妙に違うなーできたわ ()の右下についてる＋の意味は、値が負だった場合は、０にするということを意味していて、x_+=std::max(0.0, x)でプログラミングできる。 点光源の距離減衰はそんな難しくなかった。 ホントこれだけだったよ。無限遠の光源の影は、簡単だった。その方向に、障害物があるかどうかだけ。点光源の影は難しかった。その方向に障害物があってかつ、光源と交点との間にあるかどうかを判定しなきゃいけない。 Vec3d PointLight::shadowAtte…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbrogmymxo.hatenablog.com%2Fentry%2F2025%2F06%2F25%2F092708&quot; title=&quot;シェーディングできたよ　あにき - Behind Coleus&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/b/brogmybana/20250625/20250625120651.jpg</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2025-06-25 09:27:08</published>
  <title>シェーディングできたよ　あにき</title>
  <type>rich</type>
  <url>https://brogmymxo.hatenablog.com/entry/2025/06/25/092708</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
