mirror of
https://github.com/GTNewHorizons/Angelica.git
synced 2026-11-17 11:05:04 +00:00
Pass texturemap to composite shader and honor texture replacements (#1589)
This commit is contained in:
1 parent
52b0db2566
commit
29f8d718cc
6 files changed
+84
-15
No files matched your search
@@ -263,7 +263,9 @@ public class ShadowCompositeRenderer {
|
||||
source.getGeometrySource().orElse(null),
|
||||
source.getTessControlSource().orElse(null),
|
||||
source.getTessEvalSource().orElse(null),
|
||||
source.getFragmentSource().orElseThrow(NullPointerException::new));
|
||||
source.getFragmentSource().orElseThrow(NullPointerException::new),
|
||||
TextureStage.SHADOWCOMP,
|
||||
pipeline.getTextureMap());
|
||||
String vertex = transformed.get(PatchShaderType.VERTEX);
|
||||
String geometry = transformed.get(PatchShaderType.GEOMETRY);
|
||||
String tessControl = transformed.get(PatchShaderType.TESS_CONTROL);
|
||||
|
||||
Reference in new issue
Block a user