#Appearance of the Trigger.
1 messages · Page 1 of 1 (latest)
It's a cube.
I placed a video on the cube...
So the 3d cube is the trigger.
I dont quite get what you mean. Could you share screen recording with us?
.
encode to mp4 so it embeds
If you make the material transparent, you can make it fade in by gradually increasing the alpha
you mean and set an animation that it appears fade in manner?
You could use animation
yup, on it.
I will check and let you know.
uhmm what should i choose for transparency?
I think you can animate the material asset directly
How you please tell me how?
Im lost on the net.
Im not sure how to do that using the animation system. Id just animate it through the code
i still got nothing.
I tried reducing the albedo and animating it, but my cube should be unlit/texture shader.
else it doesn't work.
standard shader shows pink colour material.
Alright, i made it fade in.
But The Video is not playing now.
Becaz the texture is not unlit.
@winter cape
Material.SetWhatever
e.g. https://docs.unity3d.com/ScriptReference/Material.SetFloat.html
Just Material.color