tipforeveryone Posted August 8, 2016 Posted August 8, 2016 How can I make the lensflare effect for spotlight when my camera direction opposites the light source, this can blind player like image below from battlefield Quote
tipforeveryone Posted August 9, 2016 Author Posted August 9, 2016 Thank you, I realized that the combination of Camera:Project() and DrawImage() is good for display a health bar above character or something like that But it does not really solve my need, as the image below, there are 4 cases (1): Camera is outside of Spotlight's cone, Spotlight is inside Camera View. ~~> Player can see the lens effect but it is weak, player is not blinded (2): Camera is inside of Spotlight's cone, Spotlight is inside Camera View too. ~~> Player can see the lend effect and be blinded (3): Camera is outside Spotlight's cone and behind of Camera Angle Limit (I am not sure is it right to call it like this) ~~> No effect, player even does not see the lens (4): Camera is inside of Spotlight's cone but Spotlight is not inside Camera View ~~> No effect, of course How can I solve all of these ? 1 Quote
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.