- Home /
Question by
chef_seppel · Mar 24, 2018 at 11:45 AM ·
shadertexturescamerasrenderwithshader
How does Cities:Skylines do it: Info views
Cities:Skylines has this nice Feature where you can change between different Info views. In this views everything is renderer without a texture and just in grey, except for certain buildings that are in a specific color.
I guess they are using Camera.RenderWithShader and use a shader that just ignores the textures. But how do they "tag" the highlighted buildings? How do i get this bool into the shader that tells it to be blue instead of grey?
Any hints?
Best Regards chef_seppel
Comment