Completely removed shadows
This commit is contained in:
@@ -258,6 +258,10 @@
|
||||
RelativePath=".\Globals.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\GroupInstance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\IEBrowser.cpp"
|
||||
>
|
||||
@@ -270,6 +274,10 @@
|
||||
RelativePath=".\IEDispatcher.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\LevelInstance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath="main.cpp"
|
||||
>
|
||||
@@ -290,6 +298,10 @@
|
||||
/>
|
||||
</FileConfiguration>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PartInstance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\propertyGrid.cpp"
|
||||
>
|
||||
@@ -298,6 +310,10 @@
|
||||
RelativePath=".\PropertyWindow.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PVInstance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\WindowFunctions.cpp"
|
||||
>
|
||||
@@ -321,10 +337,6 @@
|
||||
RelativePath=".\Instance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PhysicalInstance.cpp"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\TextButtonInstance.cpp"
|
||||
>
|
||||
@@ -375,10 +387,22 @@
|
||||
RelativePath=".\Globals.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\GroupInstance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\IEDispatcher.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\LevelInstance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PartInstance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\propertyGrid.h"
|
||||
>
|
||||
@@ -387,6 +411,10 @@
|
||||
RelativePath=".\PropertyWindow.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PVInstance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\rapidxml\rapidxml.hpp"
|
||||
>
|
||||
@@ -434,10 +462,6 @@
|
||||
RelativePath=".\Instance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\PhysicalInstance.h"
|
||||
>
|
||||
</File>
|
||||
<File
|
||||
RelativePath=".\TextButtonInstance.h"
|
||||
>
|
||||
|
||||
12
main.cpp
12
main.cpp
@@ -1247,9 +1247,9 @@ void Demo::onGraphics(RenderDevice* rd) {
|
||||
|
||||
Matrix4 lightMVP = lightProjectionMatrix * lightCFrame.inverse();
|
||||
|
||||
if (GLCaps::supports_GL_ARB_shadow()) {
|
||||
//if (GLCaps::supports_GL_ARB_shadow()) {
|
||||
//generateShadowMap(lightCFrame);
|
||||
}
|
||||
//}
|
||||
|
||||
|
||||
renderDevice->setProjectionAndCameraMatrix(*cameraController.getCamera());
|
||||
@@ -1285,9 +1285,9 @@ void Demo::onGraphics(RenderDevice* rd) {
|
||||
*/
|
||||
|
||||
rd->pushState();
|
||||
if (GLCaps::supports_GL_ARB_shadow()) {
|
||||
/*if (GLCaps::supports_GL_ARB_shadow()) {
|
||||
rd->configureShadowMap(1, lightMVP, shadowMap);
|
||||
}
|
||||
}*/
|
||||
rd->beforePrimitive();
|
||||
|
||||
|
||||
@@ -1774,10 +1774,10 @@ void Demo::run() {
|
||||
sky = Sky::create(NULL, ExePath() + "/content/sky/");
|
||||
|
||||
|
||||
if (GLCaps::supports_GL_ARB_shadow()) {
|
||||
/*if (GLCaps::supports_GL_ARB_shadow()) {
|
||||
shadowMap = Texture::createEmpty(512, 512, "Shadow map", TextureFormat::depth(),
|
||||
Texture::CLAMP, Texture::BILINEAR_NO_MIPMAP, Texture::DIM_2D, Texture::DEPTH_LEQUAL);
|
||||
}
|
||||
}*/
|
||||
|
||||
|
||||
cursorid = cursor->openGLID();
|
||||
|
||||
Reference in New Issue
Block a user