Reputation: 69
I want a skybox that lerps between two skyboxes, here's my code. It simply doesn't lerp the skybox, I've tested _timePercent
with simply 0.5f
and doesn't do anything, I've double-checked my list of skyboxes and that's fine. From what it seems, the feature has been removed. Setting the skybox directly works but that's not what I want to do. So it's not an issue with the code actually being called-to
RenderSettings.skybox.Lerp(skyboxes[0], skyboxes[1], _timePercent);
DynamicGI.UpdateEnvironment();
Upvotes: 0
Views: 72