丝绸 API 是一个简单的库,帮助模组开发者添加有趣的图形效果到他们的模组中。其主要功能是显著简化了 Minecraft 的数据驱动着色器系统的使用(也就是,超级秘密设置、生物视觉和幽灵箭所使用的系统)。
你可以在 GitHub 仓库上找到完整的功能列表和安装说明:https://github.com/Ladysnake/Satin/
你可以在 Wiki 上找到有关着色器格式的文档:https://github.com/Ladysnake/Satin/wiki/Data-driven-shaders
FAQ
Can it replace Optifine ?
Can it bring back Super Secret Settings ?
Does this library have a Forge version ?
来自Modrinth
3.0.0-alpha.1
satin-3.0.0-alpha.1.jar下载3.0.0-alpha.1#Alpha
Version 3.0.0-alpha.1:
Partially updated to MC 1.21.2
This update contains major breaking changes made by Mojang to shader declarations preparing the terrain for Vibrant Visuals.
More breaking changes should be expected for later versions.
**For this first alpha, only `ShaderEffectManager#manage`, `ManagedShaderEffect` and basic uniform manipulation methods are expected to work.**
Feedback is welcome on the [Satin GitHub page](https://github.com/Ladysnake/Satin/discussions/55).
**Changes**
- Post process shaders are now loaded from `post_effect` and `shaders`
instead of respectively `shaders/post` and `shaders/program`.
By convention, files previously in `shaders/program` should go to the `shaders/post` subdirectory.
- Identifiers for `ManagedShaderEffect` have changed: `mymod:shaders/post/example.json` becomes `mymod:example`
(the `example.json` file also needs to be moved to the `post_effect` directory)
- Includes (loaded from `shaders/include`) are now available in post process shaders
- Post-process effect format has changed:
- `inputs` take a `sampler_name`, which will be suffixed with "Sampler" (e.g. `"sampler_name": "In"` becomes `"name": "InSampler"` in the shader definition)
see full changelog [here](https://github.com/Ladysnake/Satin/blob/3.0.0-alpha.1/changelog.md "Changelog")
Partially updated to MC 1.21.2
This update contains major breaking changes made by Mojang to shader declarations preparing the terrain for Vibrant Visuals.
More breaking changes should be expected for later versions.
**For this first alpha, only `ShaderEffectManager#manage`, `ManagedShaderEffect` and basic uniform manipulation methods are expected to work.**
Feedback is welcome on the [Satin GitHub page](https://github.com/Ladysnake/Satin/discussions/55).
**Changes**
- Post process shaders are now loaded from `post_effect` and `shaders`
instead of respectively `shaders/post` and `shaders/program`.
By convention, files previously in `shaders/program` should go to the `shaders/post` subdirectory.
- Identifiers for `ManagedShaderEffect` have changed: `mymod:shaders/post/example.json` becomes `mymod:example`
(the `example.json` file also needs to be moved to the `post_effect` directory)
- Includes (loaded from `shaders/include`) are now available in post process shaders
- Post-process effect format has changed:
- `inputs` take a `sampler_name`, which will be suffixed with "Sampler" (e.g. `"sampler_name": "In"` becomes `"name": "InSampler"` in the shader definition)
see full changelog [here](https://github.com/Ladysnake/Satin/blob/3.0.0-alpha.1/changelog.md "Changelog")
展开
版本: 3.0.0-alpha.1
支持游戏: 1.21.2, 1.21.3, 1.21.4
类型: Fabric Quilt
Alpha
下载次数: 9,406
2.0.0
satin-2.0.0.jar下载2.0.0#Release
Version 2.0.0:
Updated to MC 1.21
**Changes**
- The root package has been changed from `ladysnake.satin` to `org.ladysnake.satin`
- global search-replace of `ladysnake.satin` -> `org.ladysnake.satin` should do the trick for the migration in your projects
**Removals**
- Removed the `nanoTime` parameter in `PostWorldRenderCallback` and `PostWorldRenderCallbackV2` (deprecated since 1.17.0)
- Removed the `ShaderEffectManager#manageProgram` methods (deprecated since 1.6.0)
- Removed deprecated `GlMatrices` methods (deprecated since 1.1.0)
see full changelog [here](https://github.com/Ladysnake/Satin/blob/2.0.0/changelog.md "Changelog")
Updated to MC 1.21
**Changes**
- The root package has been changed from `ladysnake.satin` to `org.ladysnake.satin`
- global search-replace of `ladysnake.satin` -> `org.ladysnake.satin` should do the trick for the migration in your projects
**Removals**
- Removed the `nanoTime` parameter in `PostWorldRenderCallback` and `PostWorldRenderCallbackV2` (deprecated since 1.17.0)
- Removed the `ShaderEffectManager#manageProgram` methods (deprecated since 1.6.0)
- Removed deprecated `GlMatrices` methods (deprecated since 1.1.0)
see full changelog [here](https://github.com/Ladysnake/Satin/blob/2.0.0/changelog.md "Changelog")
展开
版本: 2.0.0
支持游戏: 1.21, 1.21.1
类型: Fabric Quilt
Release
下载次数: 219,388
1.9.2
satin-1.9.2.jar下载1.9.2#Release
Version 1.9.2:
Ported to Quilt to hopefully fix the incompatibility issue
see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.9.2/changelog.md "Changelog")
Ported to Quilt to hopefully fix the incompatibility issue
see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.9.2/changelog.md "Changelog")
展开
版本: 1.9.2
支持游戏: 1.19.2
类型: Fabric Quilt
Release
下载次数: 22,532
收录