hwPhongShader::hwPhongShader() { TRACE_API_CALLS("hwPhongShader"); attachSceneCallbacks(); mAmbientColor[0] = mAmbientColor[1] = mAmbientColor[2] = 0.1f; mDiffuseColor[0] = mDiffuseColor[1] = mDiffuseColor[2] = 0.5f; mSpecularColor[0] = mSpecularColor[1] = mSpecularColor[2] = 0.5f; mShininess[0] = mShininess[1] = mShininess[2] = 100.0f; mAttributesChanged = false; phong_map_id = 0; mGeometryShape = 0; }
ProxyViz::ProxyViz() : _firstLoad(1), fHasView(0), m_toSetGrid(true), m_toCheckVisibility(false), m_enableCompute(true), m_hasParticle(false) { attachSceneCallbacks(); }
hwUnlitShader::hwUnlitShader() { m_pTextureCache = MTextureCache::instance(); attachSceneCallbacks(); }