Rick Posted March 9, 2014 Share Posted March 9, 2014 I have this snake game I made and I was going to release it so people could learn from it. However it has too much extra stuff in the default project so I was cleaning things out. When I went to rerun my game it acted like it had no directional light (even though it did). So I replaced all the files from MyGame and now the directional light is messed up. Hard to explain but even in the editor view when I move around the directional light acts funny. Can this be ran through the debugger or something to see what is going on with the directional light? We really need a cleaner process in the publish button. If there are "system" files that are required to run things properly then the engine should be doing the cleaning of published projects. https://dl.dropboxusercontent.com/u/1293842/Snake.rar Link to comment Share on other sites More sharing options...
YouGroove Posted March 9, 2014 Share Posted March 9, 2014 We really need a cleaner process in the publish button. If there are "system" files that are required to run things properly then the engine should be doing the cleaning of published projects. +10 Stop toying and make games Link to comment Share on other sites More sharing options...
Josh Posted March 9, 2014 Share Posted March 9, 2014 I'm guessing you are missing Materials\Common\bfn.tex, or it isn't a cubemap. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted March 9, 2014 Author Share Posted March 9, 2014 I was missing that before because I deleted it on accident, but now it's there and still the same issue. Link to comment Share on other sites More sharing options...
Josh Posted March 9, 2014 Share Posted March 9, 2014 The PNG file probably got converted into a regular 2D texture. Can you check? My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted March 9, 2014 Author Share Posted March 9, 2014 It did. Why is it not supposed too? That worked for the editor, but the game itself is still flat like there is no directional light. Link to comment Share on other sites More sharing options...
Josh Posted March 10, 2014 Share Posted March 10, 2014 It's supposed to be a cube map. I ran into this same issue last week and just added a check to make sure the texture gets loaded and that it is a cube map. Instead of silently failing it raises an error. My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Josh Posted March 22, 2014 Share Posted March 22, 2014 I've deleted the PNG source file from the template, just to avoid any accidental reconversion. I have seen this happen a few times, although it shouldn't make a difference. The BFN texture should probably just be built into the engine itself. Can I close this report? My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Recommended Posts