mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-08-01 10:59:21 +00:00
expose shadowmap intensity to PyBullet API
This commit is contained in:
@@ -10688,6 +10688,13 @@ bool PhysicsServerCommandProcessor::processConfigureOpenGLVisualizerCommand(cons
|
||||
{
|
||||
m_data->m_guiHelper->getRenderInterface()->setShadowMapResolution(clientCmd.m_configureOpenGLVisualizerArguments.m_shadowMapResolution);
|
||||
}
|
||||
|
||||
if (clientCmd.m_updateFlags & COV_SET_SHADOWMAP_INTENSITY)
|
||||
{
|
||||
m_data->m_guiHelper->getRenderInterface()->setShadowMapIntensity(clientCmd.m_configureOpenGLVisualizerArguments.m_shadowMapIntensity);
|
||||
}
|
||||
|
||||
|
||||
if (clientCmd.m_updateFlags & COV_SET_SHADOWMAP_WORLD_SIZE)
|
||||
{
|
||||
float worldSize = clientCmd.m_configureOpenGLVisualizerArguments.m_shadowMapWorldSize;
|
||||
|
||||
Reference in New Issue
Block a user