sh::Factory::getInstance ().setTextureAlias ("WaterReflection","PlaneReflection"); sh::Factory::getInstance ().setTextureAlias ("WaterRefraction","PlaneRefraction"); } 开发者ID:jacobgogogo,项目名称:stuntrally,代码行数:35,代码来源:WaterRTT.cpp 示例10: Commit ▲点赞 1▼ voidCompositorRenderPass...
m_light->setDirection(1.0f,0.0f,0.0f);// Space cameram_camera =newSpaceCamera(*this, Vector3(0,0,-5)); assert(m_camera); GetCamera().setFOVy(FieldOfView); GetCamera().setNearClipDistance(NearPlane); GetCamera().setFarClipDistance(FarPlane); m_viewport = m_renderWnd->addViewport(&G...