<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nakamura001</author_name>
  <author_url>https://blog.hatena.ne.jp/nakamura001/</author_url>
  <blog_title>強火で進め</blog_title>
  <blog_url>https://nakamura001.hatenablog.com/</blog_url>
  <categories>
    <anon>Unity</anon>
    <anon>Unity3d</anon>
  </categories>
  <description>昨日の「Diffuse」のコードをベースに色々変更してみる勉強の続き。以下のページを読んでると sin や cos の値を使える事を発見。早速、試してみました。 Unity - ShaderLab builtin values http://unity3d.com/support/documentation/Components/SL-BuiltinValues.html 色の部分をsinカーブで白と黒を繰り返す様に以下の様にプログラムを書きました。 Shader &quot;test&quot; { Properties { _Color (&quot;Main Color&quot;, Color) = (1,1,1,1) _M…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnakamura001.hatenablog.com%2Fentry%2F20120406%2F1333727217&quot; title=&quot;(Cg)シェーダ内で sin の値を使い、時間と共に色を変化させる - 強火で進め&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2012-04-06 00:46:57</published>
  <title>(Cg)シェーダ内で sin の値を使い、時間と共に色を変化させる</title>
  <type>rich</type>
  <url>https://nakamura001.hatenablog.com/entry/20120406/1333727217</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
