naitro Posted July 16, 2014 Share Posted July 16, 2014 Hi, here the situation - for example I have some third-person game(camera in sky) there player walk in full darkness across the rooms with flashlight, so if he direct flashlight on the wall into the room then only this wall and space front have to be highlighted, but all over still have to be in darkness include space behind this wall.here simple scene: http://jsfiddle.net/QZD4w/ in this scene only big right box have to be highlighted and ground before, can I do it in any case? I can't use shadows cause then I have to use directional light and in this case all rooms will be highlighted.. mb exist some over way to do this? For example mb just don't render mesh which are out of view.. but in this case problem still will be with ground.. Quote Link to comment Share on other sites More sharing options...
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.