In my racing game, I wish for each car to have its own reflection probe.
How can I get the reflection probe to only cull mask the object it is a child of (all associated renderers that use the probe as the anchor override).
As the cull mask uses layers, does this mean I need a separate layer for each car?
Am I missing something? If this is the case, lucky I’ll only have 8 cars!
The game is multiplayer. There is a chance that different players will be using the same car prefab, so assigning a layer per prefab won’t work, it will cull other cars that are an instance of the same prefab.
All I can think of is have a pool of layers; as each car is instantiated it grabs a unique layer, and assigns unique layer to all renderers and the probe cull mask.
Is this my solution? Any helpful thoughts and advice will be much appreciated
Edit: Just looking for some advice and pointers/tips from someone who has done this before. Anyone?