Jump to content

180 Flip Dark


gamecreator
 Share

Go to solution Solved by gamecreator,

Recommended Posts

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?
darkflip.jpg.9538871a3e8b5bccb1c7a6ef32a2b37f.jpg

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);

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...