-
Notifications
You must be signed in to change notification settings - Fork 28
Updating from 1.16 to 1.17
Pyrofab edited this page Jun 27, 2023
·
1 revision
- Update your Satin dependency
- If you only use post process shaders, you are mostly done. You should already be able to play, but it's preferable you also update your shaders to Core Profile (go to step 4).
- If you use custom shaders for your entities, follow these steps:
- Move the relevant shader files from
assets/shaders/program
toassets/shaders/core
- Replace references to
ManagedShaderProgram
with references toManagedCoreShader
- Replace calls to
ShaderEffectManager#manageProgram
with calls toShaderEffectManager#manageCoreShader
- Move the relevant shader files from
- Update your shaders to Core Profile: https://docs.substance3d.com/sddoc/switching-your-shaders-to-opengl-core-profile-172819178.html
- You can refer to vanilla shaders for examples