|
From: Emilian H. <emi...@gm...> - 2013-11-25 17:06:38
|
If you do remove the 'extra' specular , make sure you remove the ones before the last one: i.e. don't remove "fragColor += Specular * nmap.a;" However, what you are trying to do is rather 'unsupported' usage, the shader/effect was never intended to be used on a part of what is actually a bigger object(that should look like one) with other shaders acting on the other bits. (like you are trying to do). Please consider assigning effects based on the model-combined-deferred effect to the other objects that should have the same shading. However, if you don't want any of the other features (multiple lightmaps baked into one, reflection, normalmap, dirtmap), maybe you should use the old lightmap effect( you would need to take care of disabling it when Rembrandt is active). Regards, Emilian |