YAIMO BLOG
会津の大食いFlasher!! WordPress, iPhone, Progression, FlashDevelop他
PointLight3D(showLight:Boolean = false, flipped:Boolean = false)
  • showLight: A Boolean value indicating whether the light is visible.
    ライトのオブジェクトを可視化するかを示すブール値
  • flipped : A Boolean value indicating whether to flip the light-direction (needed for correct DAE-shading).
    ライト方向を 反転 するかかどうかを示すブール値 かな?
あくまで光源であって色とか環境光はマテリアルや、Shaderで設定する。
Bitmapに陰影を使いたい場合はShadedMaterialを使い、陰影の設定はShaderを利用する。

この考え方に行くまで結構迷った。
最初はGouraudMaterial,GouraudShaderとかの使い分けがよくわからなかったけど、
GouraudMaterialは、あくまでColorMaterialの延長、そしてライトが必要なので設定が必要。
Shader系はShadedMaterialの陰影設定するためのもの。でいいとおもわれ。

だんだんわかってきた。


swf



Read the rest of the entry »


Tags:

Powered by Wordpress
Theme © 2005 - 2009 FrederikM.de
BlueMod is a modification of the blueblog_DE Theme by Oliver Wunder