Hey guys
I have a question/problem regarding Material Overrides and I am not sure if this is supposed to be working or not:
Edit: URP, Entities Graphics 1.0.0-pre.15, Unity Version 2022.2.1f1.112.6257
I am looking into shaders and tried to create a simple “Selected”-Shader:
I created a material override for the 3 parameters.
If I change the towercolor, it works in scene and game view
If I change the towerselected flag, it only works in scene view…
Are boolean Properties not supported or am I doing something wrong?
If I set Towerselected to 1 and run it, it is applied correctly in the Entities Hierarchy window and updates the scene window, but not in the game…
But the overriden towercolor property is applied correctly to the game…
Left side is the game running, right side is the scene view (both with towerselected = 1):
Thanks for your time