This asset can detect if the gameobject is in the darkness, shadow or on the light. Perfect for creating a stealth mode in you game. Asset built on raycast. Customizable shadow brightness. Customizable detector the frequency of checking the brightness of light. Processes only those light sources that are within the detector. Easy integration.
Thanks) At high loads is not checked, the overall good. The method of determining the shade rather non-standard, so it can be a costly resource. If people show interest, will optimize
Your asset seems wonderful.
I have only one question : in the video, the character is either in the light or in the shadows.
Does your asset is capable of more refined info, like in skyrim ? ie does the character could be half visible, for example ?
Oh sure. Thank you for the question. Now version 1.2 for confirmation. It is possible to do. You can get the brightness level of the shadows in which your character is as follows:
transform.GetComponent (). shadowBright
Just saw this. It sounds like a great tool. Not just for the stated purpose of adding “cover” by being in shadows, but also maybe to auto-adjust exposure with Scion (image effect plugin), which has been a problem for me in dynamic and high contrast lighting situations.