tag
#shader
2 items (2 fixes)
fixes
✓ 26.07.22
"Commit a new .shader together with its compiled .shader_c, or it fails its first load"
A brand-new custom .shader committed without its compiled .shader_c fails its first in-editor load with a misleading 'Invalid Dependency Information' / file-not-found error chain, even when the HLSL is correct. The engine loads shaders only from .shader_c -- commit both.
shadercompile
✓ 26.07.15a
"Time-of-day sky swap pops: use a weighted-blend shader instead"
A hard SkyBox2D.SkyMaterial swap produces a visible pop, and stacking two SkyBox2D components with Tint alpha crossfade does not composite. The fix is a single custom sky shader that holds all time-slot textures and blends them by weight.
vmatshader