Colobot Forum - International Colobot Community
[BUG] Dynamic Shadow + weird logs. - Printable Version

+- Colobot Forum - International Colobot Community (
+-- Forum: [Archive] New forum (2015-2019) (
+--- Forum: Colobot: Gold Edition Development (
+---- Forum: Game Engine & General Talk (
+---- Thread: [BUG] Dynamic Shadow + weird logs. (/showthread.php?tid=736)

[BUG] Dynamic Shadow + weird logs. - DavivaD - 03-09-2016

Spoiler :
[Image: GQ6BpXA.jpg]
[Image: KmJxZ39.jpg]

1. Dynamic Shadows is Bugged.
2. Weird logs on OpenGL 2.1 Graphics Engine.

RE: [BUG] Dynamic Shadow + weird logs. - tomaszkax86 - 03-09-2016

"Shadow Mapping is Bugged" is not very descriptive. Do you mean those strange shadows back on the walls? This is one of the problems with shadow mapping itself. Shadows from some high object casts shadow through a wall. This wouldn't be a problem if the walls also cast shadows, but this would be rather costly. Maybe I'll be able to fix this but there's no guarantee.

Debug version outputs OpenGL errors captured during rendering frames. This way I know something is wrong. For now it spams console when it happens in every frame. I'll change it later so it outputs errors fewer times without spamming.

EDIT: OK, it seems shadows are really bugged but in different way than I expected. Shadows seem to be somewhat duplicated. This shouldn't be happening because they are meant to use clamp mode. I'll have to take a look at this.

RE: [BUG] Dynamic Shadow + weird logs. - DavivaD - 03-10-2016

I mean these shadows are duplicated. This are most pronounced at shadow resolution is 128x128.

[Image: 6X4JS4I.jpg]