mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-20 04:19:40 +00:00
Backports tessellation shader support, safe zone shadow culling, and shader pack rendering directives.
This commit is contained in:
1 parent
c5988d29c3
commit
969d2c3710
29 files changed
+418
-121
No files matched your search
@@ -86,7 +86,7 @@ public class ClearPassCreator {
|
||||
// Sort buffers by their clear color so we can group up glClear calls.
|
||||
Map<Vector4f, IntList> clearByColor = new HashMap<>();
|
||||
|
||||
for (int i = 0; i < renderTargetDirectives.getColorSamplingSettings().size(); i++) {
|
||||
for (int i = 0; i < Math.min(renderTargetDirectives.getColorSamplingSettings().size(), renderTargets.getNumColorTextures()); i++) {
|
||||
// unboxed
|
||||
PackShadowDirectives.SamplingSettings settings = renderTargetDirectives.getColorSamplingSettings().get(i);
|
||||
|
||||
|
||||
Reference in new issue
Block a user