Ogre 材质

创建 Render 渲染时需要的参数

void Hlms::calculateHashFor( Renderable *renderable, uint32 &outHash, uint32 &outCasterHash )

创建最终渲染材质

const HlmsCache* Hlms::createShaderCacheEntry( uint32 renderableHash, const HlmsCache &passCache,

                                                   uint32 finalHash,

                                                   const QueuedRenderable &queuedRenderable )

PBS 环境需要的参数

HlmsCache Hlms::preparePassHash( const CompositorShadowNode *shadowNode, bool casterPass,
                                     bool dualParaboloid, SceneManager *sceneManager )

猜你喜欢

转载自blog.csdn.net/kuangben2000/article/details/54883156