|
殺虫侍
|
シェーダーに渡すマテリアルパラメータ(拡散色・鏡面色・光沢度) [詳解]
#include <material.h>
公開変数類 | |
| DirectX::XMFLOAT4 | Diffuse |
| 拡散反射色(RGBA) | |
| DirectX::XMFLOAT4 | Specular |
| 鏡面反射色(RGBA) | |
| float | Shininess |
| 光沢係数 | |
| float | padding [3] |
| 16バイトアライメント用パディング | |
シェーダーに渡すマテリアルパラメータ(拡散色・鏡面色・光沢度)
| DirectX::XMFLOAT4 Material::Diffuse |
拡散反射色(RGBA)
| float Material::padding[3] |
16バイトアライメント用パディング
| float Material::Shininess |
光沢係数
| DirectX::XMFLOAT4 Material::Specular |
鏡面反射色(RGBA)