gamecreator Posted January 18, 2014 Share Posted January 18, 2014 I was wondering: how is this lightning effect done in 3D? My game is simpler in that it is top-down and so I can create a plane in my 3D program. I was then thinking of pointing it toward the target and then stretching it via SetScale. That's probably easy enough but is there a better way? (I can animate the lightning via changing textures, that's not a problem.) Quote Link to comment Share on other sites More sharing options...
YouGroove Posted January 18, 2014 Share Posted January 18, 2014 http://news.developer.nvidia.com/2007/07/dx10-lightning-.html 1 Quote Stop toying and make games Link to comment Share on other sites More sharing options...
gamecreator Posted January 18, 2014 Author Share Posted January 18, 2014 Ah, a shader. That makes sense, though I haven't entered that world yet and I'm horrible with math so I think I'll keep it simple. Thanks though! Quote Link to comment Share on other sites More sharing options...
Josh Posted January 19, 2014 Share Posted January 19, 2014 I would do it exactly as you described in your first post. See Entity::AlignToVector. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
gamecreator Posted January 19, 2014 Author Share Posted January 19, 2014 Thanks. I was going to use Entity::Point but I'm not familiar with AlignToVector yet. 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.