like i said, everything works fine, until i set the materials color back to default.
after that everything behaves differently.
not the way it behaved on programm start.
(on start the color switches from “black” to “gray” - after resetting the color, it just
changes/switches the color for 1 frame or something like that.)
that’s why my question was, how to just reset the whole material/shader to it’s
default the proper way.
maybe i’m missing something…
all i wan’t to reach is, that a cube switches it’s color from gray to black or whatever,
when you hover/enter it with the mouse.
after my logic is reached, i would like to set everything back to default,
so you can start all over again.