Jump to content

No shadows in editor for directional light


nick.ace
 Share

Recommended Posts

I apologize if this has been asked before (I tried searching, but nothing useful has come up).

Anyway, in the editor after I updated Leadwerks, I get this error repeated many times. Basically, my whole scene in the editor has no shadows.

 

Error: Uniform "shadowmapsize" is not a vec2 value.

 

Am I doing something wrong? (I'm not sure if this is bug or a new "feature"). Note that it does work in game with the same shaders and such (except DOF, but i doubt that has anything to do with it).

Link to comment
Share on other sites

I just relaunched Leadwerks after updating, and it's working fine (I guess it doesn't update the editor until Leadwerks is restarted? I reloaded the map after updating in Project Manager, but nothing happened). I guess I should have just restarted to begin with!

 

Either way it works fine now. Thanks!

Link to comment
Share on other sites

I got the same problem no shadows anywhere after recent update.

I updated my project (3files updated). Makes no difference.

 

I updated my drivers to NVidia 344.11. The whole scene flickers a lot also, which did not happen before.

 

Edit:I am getting errors in red when editor loads about "uniform shadowmap size"

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Link to comment
Share on other sites

I just copied th shader lighting and terrain folders into my project\shaders folder manualy. Mkes no difference

During the download I received 11 files but when I updated project only three were updated.

amd quad core 4 ghz / geforce 660 ti 2gb / win 10

Blender,gimp,silo2,ac3d,,audacity,Hexagon / using c++

Link to comment
Share on other sites

@Josh, could you please update the standalone installer to include the necessary files? I also have the same problem, shaders in Templates\Common\Shaders are all from April 2014.

Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64)

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...