waverider Posted June 20, 2018 Share Posted June 20, 2018 Hy gangs!! I've been trying to create a flashlight / torchlight demo. I used projectionTexture, but it can only reflect the texturemap on the ground, it's static, i want the flashlight to move with the camera pointing in the z-direction. here's what i've done so far https://www.babylonjs-playground.com/#CQNGRK#3 Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted June 21, 2018 Share Posted June 21, 2018 https://www.babylonjs-playground.com/#CQNGRK#5 waverider 1 Quote Link to comment Share on other sites More sharing options...
waverider Posted June 21, 2018 Author Share Posted June 21, 2018 Nice!!! looks smooth! Quote Link to comment Share on other sites More sharing options...
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.