Jump to content

Lensflare for Spotlight


tipforeveryone
 Share

Recommended Posts

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 smile.png ?

post-16833-0-54923400-1470701374_thumb.png

  • Upvote 1
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...