1
Modding Resources / Re: [0.65.2a] ShaderLib Beta 1.06
« on: March 20, 2015, 04:33:56 AM »
Oh I understand that, but the documentation states " A specialization of LightAPI suited for every case wherein the default, automatic lighting behaviors are sufficient.", strongly implying it would work out of the box. Also, if you're going to have default values at all they should generally be sensible, not just always zero.
Looking at other rendering libraries, the constructor includes all critical values (including intensity), avoiding this issue entirely. It seems unusual to require several step initialization for the default behaviour then not provide it Keep in mind you've written a library that is large and difficult to follow without any substantial documentation, so what seems obvious to you may not be to most!
Looking at other rendering libraries, the constructor includes all critical values (including intensity), avoiding this issue entirely. It seems unusual to require several step initialization for the default behaviour then not provide it Keep in mind you've written a library that is large and difficult to follow without any substantial documentation, so what seems obvious to you may not be to most!