I’ve been doing a lot of UV texture learning lately inside Blender, then exporting to Unity.
I’m curious about having some animated textures, just simple things for now. For instance a wall texture that has some blinking lights as part of it…etc
Where do I want to start with learning how to do this? Is this an animation that will need to be setup in Blender? Is it purely on the Unity side of things?..etc
Please point me in the direction of any tutorials.
Generally you can do animations for object movements in Blender, but anything related to material changes you would want to do in Unity.
For the blinking light example you would have a material in Unity with an emissive color that you could animate via an animation you create within Unity. You can use a straight animation, or use the new Timeline tool if you want to do something a little more fancy like time audio and the like to it.
The blinking light example probably wasn’t a great one on my part. I wasn’t suggesting worrying about emissive stuff, but if you just imagine a green UV texture on a cube, wanting to have that texture snap between green, and then red - all coming from the same texture sheet. I imagine it’ll be something to do with modifying UV values.
While you can animate per-vertex properties in something like Blender to modify the UVs, vertex positions, etc., these won’t easily import into Unity directly. You can use blend shapes to modify these values, blending or swapping between the original and a single keyframe of data held within the blend shape, but this can be kind of heavy. You’ll likely better off using multiple meshes that you swap between, or animating the texture offsets via an in Unity created animation, or using a shader.