How to make parts of cube shiny.

If I would like to make every corner of cube shining of actual light? I know I could put “pattern” on each side, I know how that I put normal lights on. But I need to to exhibit more light, like, make it actually shining. I don’t know how to explain it. It’s as of you had paint which was self-creating light. I would like to paint in corners around cube, can this be achieved?

@ - While I was Googling and thinking on how to explain this better. Here it is: How can I make corners of a cube, shining like a neon.

you can use emission maps and lightmapper, but it will be static.
You can use glow effect (you can buy plugin in asset store), but it will emit no light only screen effect.
you can’t properly simulate that kind of light on runtime, because area lights require raycasting computations.
you can fake it with multiple lights if you wish but i would avoid that.
you can combine simple lights and glow shader and be happy.

Wouldn’t this mean, that for every single corner I would need extra light to make them shine equally?

I don’t get the difference. “will emit no light only screen effect”.

This would require like maybe 200 lights and then very specifically put on really specific places to get the running good.

I don’t seem to be able to find one in Unity itself, I’ve visited few links here and there, but no results so far. Of course I could buy a plugin, but I’d rather keep project free, since I’m doing this for hobby and not for real full project that needs paid products for it. Is there nothing included in Unity that could maybe help me?

FOUND IT!!

I will just manually create rectangles in corners of cubes and then use this to make it shine.

@ - I thought I found it, but it is mostly for spherecal objects. it doesn’t really look good on rectangle.

@edit2 - Is there a way, to have light affect only certain object BUT NO OTHER? I want to assign 3 different lights, to 3 different types of objects, can I achieve that?

1 Like