View Full Version : May/June Build Custom Lighting Material Problem
06-26-2010, 02:52 PM
So I've been using the November build of UDK for a while and everything has been working fine.
I recently tried updating to the May build and suddenly all of my static mesh with materials that used custom lighting were baking and coming out completely black.
There are no errors in the material editor, and when I move a light the materials look fine. The black mesh only happens when I bake lighting.
I'm not having any other trouble with any other mesh. This also happens in the June build of UDK. Any ideas?
06-26-2010, 03:46 PM
What do you mean by "bake the lighting", did you speak about the lightmap on a static mesh ? I saw a lot of problem about lighting and shadow on the udk forum since the may beta.
I also had problems with terrains, I solved it all by changing the definition of the lightmap (by increase it).
So, I believe you lighting problem can come from the lightmap. Or maybe a drivers problem (the may beta was a lot of problems with nvidia cards).
06-26-2010, 05:40 PM
By bake lighting I mean build lighting. As far as I know this is not a problem with lightmaps, as my other meshes (that work under normal phong lighting models in UDK) look fine. However meshes that are using custom lighting appear completely black.
06-26-2010, 07:17 PM
Can you post a screenshot?
06-26-2010, 07:28 PM
This is the exact same file being loaded in the old and new build. And I did try to rebuild the lighting, this did not help.
its a more or less common issue with the new build but i obviously forgot how to solve it. :-/
did you try reassembling the scene in a new level?
06-27-2010, 02:15 PM
skayne- if you bake your map without lightmass does it have the same issue?
06-27-2010, 02:33 PM
ah nvm about lightmass. Just saw your post about custom lighting not working. Try plugging a constant value into the customlighting diffuse slot in your material.
06-27-2010, 04:40 PM
Ahha! Plugging in my shader network into the CustomLightingDiffuse node did work! Awesome suggestion, thanks for the help guys. Now I can move up to the new build of UDK!
06-27-2010, 04:49 PM
There ya go, glad that worked for you. Sweet scene btw. :)
vBulletin® v3.8.4, Copyright ©2000-2013, Jelsoft Enterprises Ltd.