Page 2 of 2

Re: material / material override?

Posted: Thu Jun 09, 2016 7:57 pm
by minmay
AndakRainor, I can't reproduce your problem at all. Does your sx_town_window_light material use a shader or blend mode that doesn't work in low rendering quality? As of 2.2.4 reflections are mostly rendered as if rendering quality was set to Low.

Re: material / material override?

Posted: Thu Jun 09, 2016 8:31 pm
by AndakRainor
Here are my two materials:

Code: Select all

defineMaterial{
  name = "sx_town_window",
  diffuseMap = "mod_assets/sx_town/textures/sx_town_window_dif.tga",
  specularMap = "mod_assets/sx_town/textures/sx_town_window_spec.tga",
  normalMap = "mod_assets/sx_town/textures/sx_town_window_normal.tga",
  doubleSided = false,
  lighting = true,
  alphaTest = false,
  blendMode = "Opaque",
  textureAddressMode = "Wrap",
  glossiness = 150,
  depthBias = 0,
}

defineMaterial{
  name = "sx_town_window_light",
  diffuseMap = "mod_assets/sx_town/textures/sx_town_window_dif.tga",
  emissiveMap = "mod_assets/sx_town/textures/sx_town_window_emi.tga",
  specularMap = "mod_assets/sx_town/textures/sx_town_window_spec.tga",
  normalMap = "mod_assets/sx_town/textures/sx_town_window_normal.tga",
  doubleSided = false,
  lighting = true,
  alphaTest = false,
  blendMode = "Opaque",
  textureAddressMode = "Wrap",
  glossiness = 150,
  depthBias = 0,
}
So it seems the problem comes from the use of emissiveMap!

Re: material / material override?

Posted: Thu Jun 09, 2016 9:03 pm
by minmay
Yep, that'll do it. Emissive maps and emissive colors won't have an effect with Low render quality. Really wish the reflection thing was a config option :(

Re: material / material override?

Posted: Thu Jun 09, 2016 10:12 pm
by AndakRainor
I tried without the emissive map, but with the emissive texture replacing the diffuse one. It works if I use lighting = false (but with those parameters my texture is then a little too bright compared to the emissive rendering I had... I will need to change it a bit).

A not so cool side effect is that I loose the glossiness which felt good for a window.