nick.ace Posted September 19, 2014 Share Posted September 19, 2014 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). Quote Link to comment Share on other sites More sharing options...
Admin Posted September 19, 2014 Share Posted September 19, 2014 Update your project. The directional light and terrain shaders were modified. 1 Quote Link to comment Share on other sites More sharing options...
nick.ace Posted September 19, 2014 Author Share Posted September 19, 2014 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! Quote Link to comment Share on other sites More sharing options...
cassius Posted September 19, 2014 Share Posted September 19, 2014 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" Quote 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 More sharing options...
nick.ace Posted September 19, 2014 Author Share Posted September 19, 2014 Hi cassius, I know this sounds like a stupid suggestion, but did you restart Leadwerks? That's what fixed it for me after I updated the project. I have nearly an identical rig to you, but my drivers are a bit behind. Quote Link to comment Share on other sites More sharing options...
cassius Posted September 19, 2014 Share Posted September 19, 2014 When editor loads I get he following error about 10 ties. error: uniform"shadowmapsize" not a vec2 value Quote 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 More sharing options...
Josh Posted September 19, 2014 Share Posted September 19, 2014 You do not have the current shader. The following files were changed: Shaders\Light\directionallight.shader Shaders\Terrain\terrain.shader Quote 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...
cassius Posted September 19, 2014 Share Posted September 19, 2014 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. Quote 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 More sharing options...
Ma-Shell Posted September 19, 2014 Share Posted September 19, 2014 I also get those errors. It seems, like you forgot to upload the new shaders, as the two you mentioned (at least in my template-project) are from April and if I hit update in my project, svn as well doesn't find any changes to the shaders Quote Link to comment Share on other sites More sharing options...
cassius Posted September 19, 2014 Share Posted September 19, 2014 A clean install made no difference errors still there. The updater aso gave 2 errors "setup.exe does not match srver size anda similar one for caulk material. Quote 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 More sharing options...
cassius Posted September 20, 2014 Share Posted September 20, 2014 anyone else got this prob after update? or anyone NOT got it ( using windows edition) Quote 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 More sharing options...
AggrorJorn Posted September 20, 2014 Share Posted September 20, 2014 I had this problem to. Even after updating the project, this problem existed. Restarting the editor solved it eventually. Quote Link to comment Share on other sites More sharing options...
cassius Posted September 20, 2014 Share Posted September 20, 2014 I have done clean install twice and started new project. I have run the editor 6 times but still have no shadows since update. Quote 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 More sharing options...
AggrorJorn Posted September 20, 2014 Share Posted September 20, 2014 Do you have the steam version or the standalone? Quote Link to comment Share on other sites More sharing options...
Ma-Shell Posted September 20, 2014 Share Posted September 20, 2014 Standalone here, problem still persistent. As mentioned, I think, the modified shaders aren't downloaded, as they are from april. Even if I run the updater, it says, everything is up to date. 1 Quote Link to comment Share on other sites More sharing options...
cassius Posted September 20, 2014 Share Posted September 20, 2014 standalone here. Quote 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 More sharing options...
shadmar Posted September 20, 2014 Share Posted September 20, 2014 Here are the missing shaders from steam version, give it a try in a project to see if it works: _shaders.zip 1 Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
Ma-Shell Posted September 20, 2014 Share Posted September 20, 2014 When I place those shaders in the corresponding folder of the template project, update my project and restart Leadwerks, the problem is gone. So it seems, Josh forgot to add them to the standalone-version. Quote Link to comment Share on other sites More sharing options...
cassius Posted September 20, 2014 Share Posted September 20, 2014 Same here thanks shadmar. The shadows are very dark on my screen, more like California than Europe weather. But at least we got some shadows. Quote 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 More sharing options...
Olby Posted September 26, 2014 Share Posted September 26, 2014 @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. Quote Intel Core i7 Quad 2.3 Ghz, 8GB RAM, GeForce GT 630M 2GB, Windows 10 (x64) Link to comment Share on other sites More sharing options...
Josh Posted September 26, 2014 Share Posted September 26, 2014 Sorry about that. Done. 1 Quote 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
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.