EEVEE Next: Subsurface Scattering #107407

Merged
Miguel Pozo merged 24 commits from pragma37/blender:pull-eevee-next-sss into main 2023-06-15 15:49:12 +02:00
1 changed files with 2 additions and 0 deletions
Showing only changes of commit d34f22d0f4 - Show all commits

View File

@ -242,6 +242,8 @@ void ShaderModule::material_create_info_ammend(GPUMaterial *gpumat, GPUCodegenOu
case SHADOW_TILEMAPS_TEX_SLOT:
resource.slot = GPU_max_textures_frag() - 3;
break;
case SSS_TRANSMITTANCE_TEX_SLOT:
resource.slot = GPU_max_textures_frag() - 4;
}
}
}