Jump to content

Two Animated Emissives per part?


Recommended Posts

Hi,

As part of my model rework for Infernal Robotics, I've been playing around with emissive textures to make rotation direction markers visible in all light conditions. My current styling, as you can see here, is an extra piece of geometry with two halves, one of which glows more than the other (indicating the primary direction).

_91178de75909425f800c9c5478cb10e8

Unfortunately this doesn't account for the fact that players can invert the direction of rotation of these parts. Presuming I can get code support from Sirkut, what I would like to do is have the lights switch based on whether the invert flag is set or not. I was thinking perhaps having an emissive for each light, representing full brightness, with an animation each that fades from a dull glow to a full glow. The dull glow is so that the "inactive" light is still visible in dark environments. By controlling both animations the effect of turning one light off and the other on could be achieved.

Would this be the best way to go about having separately controlled lights on a part?

Thanks in advance,

-Zodius

Link to comment
Share on other sites

I've never managed to get two actual emissive anims working together in any version of unity, the only way i can get physics anims to work in multiple is to cut the model and animate seperately then assemble in unity.

But I also have a need for multicolored emissives and I opt for the cheat route, generally most emissives textures are white but I color mine the color i want then set the emissive slider on the material to a white value from the default black, of course the downside is that they glow all the time but if all you need is a right side and a wrong side this'd be the easy way out I reckon.

works well for most things i find pic below using colored emis

vbaVmZ6.png

Ps really liking the models BTW :)

Link to comment
Share on other sites

I've never managed to get two actual emissive anims working together in any version of unity, the only way i can get physics anims to work in multiple is to cut the model and animate seperately then assemble in unity.

Thanks for this. I may try separating these elements out to see if I can come up with a solution. That being said, if multiple animations aren't possible this effort might well be in vein.

But I also have a need for multicolored emissives and I opt for the cheat route, generally most emissives textures are white but I color mine the color i want then set the emissive slider on the material to a white value from the default black, of course the downside is that they glow all the time but if all you need is a right side and a wrong side this'd be the easy way out I reckon.

works well for most things i find pic below using colored emis

This is useful to know. I just assumed they must always be white :)

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...