YouGroove Posted June 16, 2013 Share Posted June 16, 2013 I have BSP with diffuse/normal/spec shader and i put a skydome on top of the 3D scene : But when running the game all BSP shaders turns red ? Even without skydome it was the same result, all is red ? Stop toying and make games Link to comment Share on other sites More sharing options...
AggrorJorn Posted June 16, 2013 Share Posted June 16, 2013 Have you rendered any lights by any chance? There is a bug were csg brushes get red, purple, orange or a yellow color sometimes. Link to comment Share on other sites More sharing options...
YouGroove Posted June 16, 2013 Author Share Posted June 16, 2013 I don't understand i have directionnal light, and several spot lights and just lightmapped all the level. What do you mean ? Stop toying and make games Link to comment Share on other sites More sharing options...
beo6 Posted June 16, 2013 Share Posted June 16, 2013 Are you using context->SetColor somewhere? i think i have encoutered something like that when i had set it. Now i first at the start read the current color with defaultContextColor = context->GetColor(); and reset the default color after i have drawn all texts etc. Link to comment Share on other sites More sharing options...
YouGroove Posted June 16, 2013 Author Share Posted June 16, 2013 Nope. The level is empty code , just acreatedlevel using flythrought cam, i didn't written any code or any setColor. Strange because i dind't had that, i added the sky dome and it went wrong ? Deleted sky dome and keep beeing wrong. Strange. Stop toying and make games Link to comment Share on other sites More sharing options...
beo6 Posted June 16, 2013 Share Posted June 16, 2013 Is the lightning mode of your materials set to Dynamic? I only got odd colors for my entity with dynamic lightning and dynamic shadow, so it wonders me that you have this color issue for the whole map. Also try to change the Lightmap size and quality to different values. Maybe that helps. Link to comment Share on other sites More sharing options...
YouGroove Posted June 17, 2013 Author Share Posted June 17, 2013 Nope , shaders are Lightmapping + normal + spec maps. No dynamic.Well i'll try changing resolution. What is strange is that happened once i added the skydome ? Stop toying and make games Link to comment Share on other sites More sharing options...
MikeClarke Posted June 17, 2013 Share Posted June 17, 2013 This is semi related, I'm not sure how LE3 handles it. Is there any objects outside of the skydome? In a few other engines if you put anything outside of the skybox/dome then it screws lighting up. Operation Mosquito Recruiting 3d Modeller/Animator. (pm if interested) It is the greatest of all mistakes to do nothing because you can do only a little. Do what you can. - Sydney Smith Link to comment Share on other sites More sharing options...
YouGroove Posted June 17, 2013 Author Share Posted June 17, 2013 I removedskydome, but the bug remains. I'll go with models instead of BSP and redo a test. Stop toying and make games Link to comment Share on other sites More sharing options...
YouGroove Posted June 18, 2013 Author Share Posted June 18, 2013 I'm stucked with this blocking bug as i can't debug and test the project and have any visual feedback. I exported the project with "project manager", and it is now uploaded , if someone can upload it and test it ? Here is the link : http://www.megafileupload.com/en/file/427402/ccpTest-zip.html Stop toying and make games Link to comment Share on other sites More sharing options...
YouGroove Posted June 19, 2013 Author Share Posted June 19, 2013 Anyone to try my level ? Stop toying and make games Link to comment Share on other sites More sharing options...
ZioRed Posted June 19, 2013 Share Posted June 19, 2013 Tried and everything is red like your screenshot. Though sorry but I don't know what the problem could be, I never used nor understand how BSP works (and personally I'm neither interested in it). ?? FRANCESCO CROCETTI ?? http://skaredcreations.com Link to comment Share on other sites More sharing options...
YouGroove Posted June 19, 2013 Author Share Posted June 19, 2013 lol Ok let's forget BSP and go full models. This will be even more true when terrain will come out. Stop toying and make games Link to comment Share on other sites More sharing options...
beo6 Posted June 19, 2013 Share Posted June 19, 2013 Hi, i tested your Project and tested a bit different settings. When i start the project with no Lightmap (click Cancel when it is Calculating the Lightmap) the color is right. When i try to render a lightmap with the Size 256x256 starting the game results in an error: Initializing OpenGL2 graphics driver... Initializing OpenGL... OpenGL version 421 GLSL version 420 Loading map "C:/Leadwerks/Editor/Projects/ccpTest/Maps/start.map"... Stream read error. Process Complete. Calculating with higher settings takes ages until it finishes. I would say this is most likely the bug that is already posted in the bug-forum just more extreme possibly because of the size of the map. Link to comment Share on other sites More sharing options...
YouGroove Posted June 20, 2013 Author Share Posted June 20, 2013 Thanks. You're saying i'm the first guy to make big BSP levels ? It is well reprorted ? i mean considered as serious bug ? Caus it's a big stucking one, as you can't work on the level design and feeling of your level without it. (It should be corrected for some next update patch i hope). Stop toying and make games Link to comment Share on other sites More sharing options...
MikeClarke Posted June 20, 2013 Share Posted June 20, 2013 depends what you define as big i haven't put lighting onto the lcp level yet but its fairly big Operation Mosquito Recruiting 3d Modeller/Animator. (pm if interested) It is the greatest of all mistakes to do nothing because you can do only a little. Do what you can. - Sydney Smith Link to comment Share on other sites More sharing options...
YouGroove Posted June 20, 2013 Author Share Posted June 20, 2013 You could give it a try and tell us if you fall on same bug ? Stop toying and make games Link to comment Share on other sites More sharing options...
MikeClarke Posted June 20, 2013 Share Posted June 20, 2013 I won't get chance until saturday but i'll be doing lighting then so will let you know. Operation Mosquito Recruiting 3d Modeller/Animator. (pm if interested) It is the greatest of all mistakes to do nothing because you can do only a little. Do what you can. - Sydney Smith Link to comment Share on other sites More sharing options...
YouGroove Posted June 20, 2013 Author Share Posted June 20, 2013 I rendered into 256*256 , and i have that : It's all white now ?? I put some developper shader and it rendered : So the problem must come from normal map /specular shader on lightmaps. I changed my material to Normal map only and bug remains. I changed my material to Diffuse lightmapping and it works. So there's more some shader and lightmap information rendering problem. So LE3 and big scenes is good for diffuse lightmapping only for now unfortunately. That's weird caus in the editor the display is ok, only running the game make errors. Stop toying and make games Link to comment Share on other sites More sharing options...
Admin Posted June 26, 2013 Share Posted June 26, 2013 I ran your project and saw the same thing. Then I updated the project, thinking maybe a shader was out of date. This had no effect, everything was still red. I recompiled your C++ project and the problem went away. So it's either fixed, or will be fixed in the next patch, and you just need to recompile the executable. 1 Link to comment Share on other sites More sharing options...
Recommended Posts