move shaders to .glsl files and stringify to .h file.

add crude screenshot facility (using F1 key), it can also be used for debugging
start with shadows using shadowmap, not working yet
add experimental 'ignore' body index in raycast, using b3HitInfo.m_m_hitResult2
This commit is contained in:
erwin coumans
2013-06-28 14:10:23 -07:00
parent bb723f9fd1
commit f2cc840c31
41 changed files with 2060 additions and 645 deletions

View File

@@ -203,12 +203,12 @@ void GpuSoftClothDemo::renderScene()
m_instancingRenderer->updateShape(m_data->m_clothShapeIndex,m_data->m_clothVertices);
}
m_instancingRenderer->RenderScene();
m_instancingRenderer->renderScene();
}
void GpuSoftBodyDemo::renderScene()
{
m_instancingRenderer->RenderScene();
m_instancingRenderer->renderScene();
}
void GpuSoftBodyDemo::clientMoveAndDisplay()