Author Topic: Too Bright With Software Renderer  (Read 2861 times)

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Too Bright With Software Renderer
« on: December 20, 2017, 06:52:49 am »
I even wrote the following (where "amount" refers to color intensity for all three colors):

Code: [Select]
int amount = 15;
float attenuation = 3.6f, dist = 1f;
theWorld.setAmbientLight(25, 25, 25);//-20
if (b.usesRenderer(IRenderer.RENDERER_OPENGL)) {
theWorld.setAmbientLight(125, 125, 125);//-20
     amount = 55;
     attenuation = 3600f;
     dist = 10f;
}
else Config.lightMul = 1;

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Too Bright With Software Renderer
« Reply #1 on: December 20, 2017, 09:34:53 am »
Try to disable overbright lighting in Lights.

Offline AGP

  • quad
  • ******
  • Posts: 1726
    • View Profile
Re: Too Bright With Software Renderer
« Reply #2 on: December 20, 2017, 07:37:09 pm »
Thank you. You should make that more explicit in the docs, or otherwise just hide the Lights class and move that setting to World. I had looked for it everywhere last night. Thought maybe the method had been removed.