增加材质设计说明注释

This commit is contained in:
hyzboy 2018-12-09 23:39:00 +08:00
parent 8af5e4c746
commit 0365c37fdf

View File

@ -10,6 +10,57 @@ namespace hgl
{
namespace graph
{
/**
*
* scene
* {
* mesh
* {
* Vertex
* TexCoordColor
* TexCoordNormal
* }
*
* texture
* {
* Color
* Normal
* }
* };
*
*
*
* material depth_render //只渲染深度用于shadow maps或oq等
* {
* in_vertex_attrib
* {
* Vertex
* }
*
* in_uniform
* {
* mvp
* }
* }
*
* material normal_render
* {
* in_vertex_attrib
* {
* Vertex,
* TexCoordColor,
* TexCoordNormal,
* }
*
* in_uniform
* {
* mvp
* light
* }
* }
*/
/**
*
*/