DudeAwesome Posted January 20, 2014 Posted January 20, 2014 In the Future Decals are supported. How would you implement the select circles like in the image? With decals or with small 3D boxes ? I would like to draw an image (circle) and want to rotate it and it should drop shadow Quote It doesn´t work... why? mhmmm It works... why?
Rick Posted January 20, 2014 Posted January 20, 2014 I did something like this back in LE 2.x. I created a plane which had a bunch of verts to it. Then each frame I would place it well above the ground (which was the terrain). I would then do a raycast down on each vert of the plane, and when it hit the terrain that's the Y position I would use for that vert for the plane. This would make it "hug" the terrain no matter what the terrain looked like. Then I painted it with a selection like texture/material and all was good. 1 Quote
AggrorJorn Posted January 20, 2014 Posted January 20, 2014 For flat terrain it is the easiest. Just a plane with a transparent texture on it and the plane placed at the feet of your unit. When using different levels of terrain, use Ricks approach. Quote
gamecreator Posted January 20, 2014 Posted January 20, 2014 But yeah, when decals come out, they should be the proper solution. Quote
DudeAwesome Posted January 20, 2014 Author Posted January 20, 2014 but decals dont drop shadows i guess or can I draw them some units over the ground? Quote It doesn´t work... why? mhmmm It works... why?
gamecreator Posted January 20, 2014 Posted January 20, 2014 Sorry, I missed that part of your post. Maybe you'd be able to have two decals, one a shadow and one a circle above it. But selection circles themselves generally don't cast shadows (as they don't seem to in your picture). Quote
DudeAwesome Posted January 20, 2014 Author Posted January 20, 2014 is there a name for that kind of object? Vignette ? i think i will implement that later i want to wait until decals are supported. but thx for your help guys Quote It doesn´t work... why? mhmmm It works... why?
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.