You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-20 14:45:44 +00:00
Antialias direct light samples in LightmapperRD
Additionally use Vogel disk to enhance soft shadow quality.
This commit is contained in:
@@ -1584,9 +1584,6 @@ LightmapperRD::BakeError LightmapperRD::bake(BakeQuality p_quality, bool p_use_d
|
||||
#endif
|
||||
|
||||
/* SECONDARY (indirect) LIGHT PASS(ES) */
|
||||
if (p_step_function) {
|
||||
p_step_function(0.6, RTR("Integrate indirect lighting"), p_bake_userdata, true);
|
||||
}
|
||||
|
||||
if (p_bounces > 0) {
|
||||
Vector<RD::Uniform> uniforms;
|
||||
@@ -1650,6 +1647,10 @@ LightmapperRD::BakeError LightmapperRD::bake(BakeQuality p_quality, bool p_use_d
|
||||
rd->submit();
|
||||
rd->sync();
|
||||
|
||||
if (p_step_function) {
|
||||
p_step_function(0.6, RTR("Integrate indirect lighting"), p_bake_userdata, true);
|
||||
}
|
||||
|
||||
int count = 0;
|
||||
for (int s = 0; s < atlas_slices; s++) {
|
||||
push_constant.atlas_slice = s;
|
||||
|
||||
Reference in New Issue
Block a user