x


Highlight billboard on mouseover

Hi all.

I want to highlight a billboard "On Mouse Over". Its a .png-texture with alpha (transparent/diffuse). The texture got to remain like it is. In best case it would draw a (out-) line around the image. I can think of doing it this way: to get a copy of the texture on the fly, making it slightly bigger, arrange it behind the actual billboard and tint it in some color... Is this possible to do in a script? How? Or is there another/easier way?

Thanks a lot.

more ▼

asked Nov 11 '11 at 05:46 PM

KK gravatar image

KK
78 9 9 12

(comments are locked)
10|3000 characters needed characters left

1 answer: sort voted first

That's surely possible in a script. By 'billboard' I assume you mean this is a 3D plane with a script to make it always face the camera, and not a GUI texture, right? You can also get Vectrosity from the Asset Store and draw lines with that. Or make a texture that just contains an opaque outline, transparent in the middle, and turn that on/off.

more ▼

answered Nov 11 '11 at 10:56 PM

DaveA gravatar image

DaveA
26.8k 153 171 257

(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x63
x50
x40

asked: Nov 11 '11 at 05:46 PM

Seen: 811 times

Last Updated: Nov 11 '11 at 10:56 PM