File tree Expand file tree Collapse file tree 1 file changed +16
-3
lines changed
xivModdingFramework/Materials/DataContainers Expand file tree Collapse file tree 1 file changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -459,7 +459,20 @@ public void SetShaderInfo(ShaderInfo info, bool forced = false)
459
459
ColorSetDataSize = 544 ;
460
460
}
461
461
462
-
462
+
463
+ // Clear out the unknown lists back to known default working values.
464
+ for ( var idx = 0 ; idx < TexturePathUnknownList . Count ; idx ++ )
465
+ {
466
+ TexturePathUnknownList [ idx ] = 0 ;
467
+ }
468
+ for ( var idx = 0 ; idx < Unknown2 . Length ; idx ++ )
469
+ {
470
+ Unknown2 [ idx ] = 0 ;
471
+ }
472
+ if ( Unknown2 . Length > 0 )
473
+ {
474
+ Unknown2 [ 0 ] = 12 ;
475
+ }
463
476
}
464
477
465
478
/// <summary>
@@ -777,8 +790,8 @@ private void RegenerateShaderParameterList(ShaderInfo info)
777
790
}
778
791
else if ( info . Shader == MtrlShader . Standard || info . Shader == MtrlShader . Glass )
779
792
{
780
- args . Add ( MtrlShaderParameterId . Equipment1 ) ;
781
- args . Add ( MtrlShaderParameterId . Reflection1 ) ;
793
+ // args.Add(MtrlShaderParameterId.Equipment1);
794
+ // args.Add(MtrlShaderParameterId.Reflection1);
782
795
}
783
796
else if ( info . Shader == MtrlShader . Iris )
784
797
{
You can’t perform that action at this time.
0 commit comments