Jump to content

Better Shadows


DudeAwesome
 Share

Recommended Posts

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

It doesn´t work... why? mhmmm It works... why?

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