gamecreator Posted August 20, 2017 Posted August 20, 2017 I'm using the below placeholder, a flat textured plane. When it faces right, it's ok but when I rotate it, it gets really dark. The light doesn't change at all. I suspect this is some material or shader issue but I tried a number of things (including using just a non-alpha diffuse material) and nothing seemed to change it. It's the same in the editor but I don't know what the light setup is there. Any idea what causes this? This is the basic light code (there is no map loaded, just another MDL as a level): Light* light = DirectionalLight::Create(); light->SetRotation(35, 35, 0); Quote
Solution gamecreator Posted August 20, 2017 Author Solution Posted August 20, 2017 A little more experimentation found the issue: z-sort needs to be checked. Quote
shadmar Posted August 20, 2017 Posted August 20, 2017 If it's a single face model, with just two sided checked in the material, you'll get this I think. EDit: ah.. 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.