DudeAwesome Posted January 15, 2014 Share Posted January 15, 2014 I created a Light with self.light = DirectionalLight:Create() self.light:SetRotation(25,25,0) how can I increase the quality of the shadows the light drop behind models? my shadows looks very bad. I also have a simple DaynNight System that just rotate my Lights x and y in the mainloop like function App:UpdateDaynNight() self.lightx = (self.lightx+0.009) % 360 self.lighty = (self.lighty+0.005) % 360 self.light:SetRotation(self.lightx, self.lighty, self.lightz) end but my shadows are not smooth. they are shaking a little bit https://www.dropbox.com/s/p2ftgo6jhves3j5/Screenshot%202014-01-16%2000.39.26.png Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
gamecreator Posted January 16, 2014 Share Posted January 16, 2014 This may not be the answer but try setting a higher MSAA level with this: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/camera/camerasetmultisamplemode-r802 Quote Link to comment Share on other sites More sharing options...
nate066 Posted January 16, 2014 Share Posted January 16, 2014 This may not be the answer but try setting a higher MSAA level with this: http://www.leadwerks.com/werkspace/page/documentation/_/command-reference/camera/camerasetmultisamplemode-r802 this command doesnt work in lua for some reason Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted January 16, 2014 Author Share Posted January 16, 2014 higher msaa will increase the whole camera I guess? but I only would like to increase the shadows with some kind of msaa not the other stuff like my models Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
shadmar Posted January 16, 2014 Share Posted January 16, 2014 You can set shadow quality in options. Quote HP Omen - 16GB - i7 - Nvidia GTX 1060 6GB Link to comment Share on other sites More sharing options...
DudeAwesome Posted January 16, 2014 Author Share Posted January 16, 2014 I cant find the command for the quality options in the command reference Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
nate066 Posted January 16, 2014 Share Posted January 16, 2014 I cant find the command for the quality options in the command reference in the editor goto TOOLS->Options Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted January 16, 2014 Author Share Posted January 16, 2014 mhmm so there is no solution like Light:SetShadowMultiSamplingMode(int x) Quote It doesn´t work... why? mhmmm It works... why? Link to comment Share on other sites More sharing options...
SarperSoher Posted January 16, 2014 Share Posted January 16, 2014 There is no way to increase the shadowmap resolution through the API right now. And the level set in the editor does not reflect in the runtime version. Quote Link to comment Share on other sites More sharing options...
DudeAwesome Posted January 16, 2014 Author Share Posted January 16, 2014 Mhmm is it just me or do you welcome something like this too ? So maybe a mod could move this thread to the Suggestion subforum. 1 Quote It doesn´t work... why? mhmmm It works... why? 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.