Jump to content

BSP shader bug


Recommended Posts

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

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

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

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

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

Thanks.

You're saying i'm the first guy to make big BSP levels laugh.png ?

 

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

I rendered into 256*256 ,

and i have that : It's all white now ??

bug2.jpg

 

I put some developper shader and it rendered :

bug3.jpg

 

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.

bug4.jpg

 

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

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.

  • Upvote 1

 

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...