You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-04 12:00:25 +00:00
Split dependency logic
Split FOG Split visibility notifier Final cleanup of storage classes
This commit is contained in:
@@ -413,7 +413,7 @@ void ClusterBuilderRD::bake_cluster() {
|
||||
|
||||
StateUniform state;
|
||||
|
||||
RendererStorageRD::store_camera(adjusted_projection, state.projection);
|
||||
RendererRD::MaterialStorage::store_camera(adjusted_projection, state.projection);
|
||||
state.inv_z_far = 1.0 / z_far;
|
||||
state.screen_to_clusters_shift = get_shift_from_power_of_2(cluster_size);
|
||||
state.screen_to_clusters_shift -= divisor; //screen is smaller, shift one less
|
||||
|
||||
Reference in New Issue
Block a user