I assigned the same material to an entity with ent_mtlset and directly
by setting my.material. The render result is completely different and
i have no clue why and how to change this.

Any help is appreciated.

You can download the sample on the link below.

I do need ent_mtlset because i would like to use the relief shader from slin
and assign it to multi material models.


Code:
action testblock1() {
	my.material = dm_brick01;
}

action testblock2() {
	ent_mtlset(my,dm_brick01,1);
}



Sample Project

Picture: Block on the left using ent_mtlset shows not the expected result, on the right with my.material everything works fine