|
丝绸 API (Satin API)Github |相关wiki |源站链接支持: fabric , quilt丝绸 API 是一个简单的库,帮助模组开发者使用着色器
丝绸 API 是一个简单的库,帮助模组开发者添加有趣的图形效果到他们的模组中。其主要功能是显著简化了 Minecraft 的数据驱动着色器系统的使用(也就是,超级秘密设置、生物视觉和幽灵箭所使用的系统)。
你可以在 GitHub 仓库上找到完整的功能列表和安装说明:https://github.com/Ladysnake/Satin/
你可以在 Wiki 上找到有关着色器格式的文档:https://github.com/Ladysnake/Satin/wiki/Data-driven-shaders
FAQ
Can it replace Optifine ?
不行。Optifine 的着色器比这个库允许的要复杂得多。作为一个正在进行的替代方案,请参阅 Canvas Renderer 项目。
Can it bring back Super Secret Settings ?
丝绸只是一个库,它本身不添加任何内容。但你可能会对 Secrets No More 感兴趣,这是一个使用丝绸来恢复超级秘密设置的模组!
Does this library have a Forge version ?
没有,我也不想自己移植。但我会支持任何人这么做。另外,请注意,无论使用哪种模组加载器,着色器格式的文档都是适用的。
来自Modrinth所有游戏版本1.21.21.21.31.21.41.211.21.11.19.21.20.51.20.61.20.41.20.31.201.20.11.20.21.19.41.19.31.191.19.11.19-pre11.19-pre21.19-pre31.181.18.11.18.2所有类型fabricquilt3.0.0-alpha.1satin-3.0.0-alpha.1.jar下载3.0.0-alpha.1#AlphaVersion 3.0.0-alpha.1:Partially updated to MC 1.21.2This 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类型:FabricQuiltAlpha下载次数: 14,9202.0.0satin-2.0.0.jar下载2.0.0#ReleaseVersion 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\")展开版本: 2.0.0支持游戏: 1.21, 1.21.1类型:FabricQuiltRelease下载次数: 252,0561.9.2satin-1.9.2.jar下载1.9.2#ReleaseVersion 1.9.2:Ported to Quilt to hopefully fix the incompatibility issuesee full changelog [here](https://github.com/Ladysnake/Satin/blob/1.9.2/changelog.md \"Changelog\")展开版本: 1.9.2支持游戏: 1.19.2类型:FabricQuiltRelease下载次数: 25,3131.18.0satin-1.18.0.jar下载1.18.0#ReleaseVersion 1.18.0:**Additions**- Added `WorldRendererReloadCallback`, an event that gets triggered when e.g. video settings are updated or the player joins a world**Changes**- Shaders\' init callbacks now also run during the above event- This fixes resource leaks caused by setting a sampler uniform to a vanilla Framebuffer in those callbacks- Added a warning in the logs for bad framerate when installed together with the Vivecraft modsee full changelog [here](https://github.com/Ladysnake/Satin/blob/1.18.0/changelog.md \"Changelog\")展开版本: 1.18.0支持游戏: 1.20.5, 1.20.6类型:FabricQuiltRelease下载次数: 8,9471.17.0satin-1.17.0.jar下载1.17.0#ReleaseVersion 1.17.0:Updated to MC 1.20.5**Additions**- Added `PostWorldRenderCallbackV3`, with the projection and model-view matrices passed in**Changes**- The `nanoTime` parameter in `PostWorldRenderCallback` and `PostWorldRenderCallbackV2` has been deprecated, and is subject to removal in a future versionsee full changelog [here](https://github.com/Ladysnake/Satin/blob/1.17.0/changelog.md \"Changelog\")展开版本: 1.17.0支持游戏: 1.20.5, 1.20.6类型:FabricQuiltRelease下载次数: 2,6121.16.0satin-1.16.0.jar下载1.16.0#ReleaseVersion 1.16.0:Updated to MC 1.20.4 proper (thanks DietrichPaul!)**Additions**- Added a new `UniformMat4#setFromArray` method for those cases where going through a matrix is too impracticalsee full changelog [here](https://github.com/Ladysnake/Satin/blob/1.16.0/changelog.md \"Changelog\")展开版本: 1.16.0支持游戏: 1.20.4类型:FabricQuiltRelease下载次数: 103,4411.9.1-unstablesatin-1.9.1.jar下载1.9.1#AlphaVersion 1.9.1:**Fixes**- Fixed incompatibility with newer Fabric API for 1.19.2 (thanks unilock for the backport !)- may break some mods, only install this if your modpack crashes with 1.9.0see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.9.1/changelog.md \"Changelog\")展开版本: 1.9.1支持游戏: 1.19.2类型:FabricQuiltAlpha下载次数: 4,8201.15.0satin-1.15.0.jar下载1.15.0#ReleaseVersion 1.15.0:Updated to MC 1.20.3 (thanks DietrichPaul!)**Changes**- Slightly optimized shader uniform loadingsee full changelog [here](https://github.com/Ladysnake/Satin/blob/1.15.0/changelog.md \"Changelog\")展开版本: 1.15.0支持游戏: 1.20.3, 1.20.4类型:FabricQuiltRelease下载次数: 1,2671.14.0satin-1.14.0.jar下载1.14.0#ReleaseVersion 1.14.0:Updated to MC 1.20.1**Additions**- Added the `satin:format` framebuffer extension (big thanks to Will BL !)**Changes**- Moved publication to the ladysnake maven (`maven.ladysnake.org/releases` instead of `ladysnake.jfrog.io/mods`)- Changed the maven group to `org.ladysnake`Refer to the readme for updated buildscript instructions.see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.14.0/changelog.md \"Changelog\")展开版本: 1.14.0支持游戏: 1.20, 1.20.1, 1.20.2类型:FabricQuiltRelease下载次数: 318,2071.13.0satin-1.13.0.jar下载1.13.0#ReleaseVersion 1.13.0:Updated to MC 1.20see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.13.0/changelog.md \"Changelog\")展开版本: 1.13.0支持游戏: 1.20, 1.20.1, 1.20.2类型:FabricQuiltRelease下载次数: 14,1181.12.1satin-1.12.1.jar下载1.12.1#ReleaseVersion 1.12.1:**Changes**- Optimized shader loading (should now be faster)**Fixes**- Fixed managed sampler uniforms losing data upon resource reloading (Ported fix from v1.10.1 to MC 1.19.4)see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.12.1/changelog.md \"Changelog\")展开版本: 1.12.1支持游戏: 1.19.4类型:FabricQuiltRelease下载次数: 18,6281.12.0satin-1.12.0.jar下载1.12.0#ReleaseVersion 1.12.0:**Additions**- Satin\'s float uniforms now have a setter overload that accepts a JOML vector object as argument**Fixes**- Fixed crash with Iris installedsee full changelog [here](https://github.com/Ladysnake/Satin/blob/1.12.0/changelog.md \"Changelog\")展开版本: 1.12.0支持游戏: 1.19.4类型:FabricQuiltRelease下载次数: 1,1641.11.0satin-1.11.0.jar下载1.11.0#ReleaseVersion 1.11.0:Updated to MC 1.19.4see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.11.0/changelog.md \"Changelog\")展开版本: 1.11.0支持游戏: 1.19.4类型:FabricQuiltRelease下载次数: 1,8141.10.0satin-1.10.0.jar下载1.10.0#ReleaseVersion 1.10.0:Updated to MC 1.19.3see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.10.0/changelog.md \"Changelog\")展开版本: 1.10.0支持游戏: 1.19.3类型:FabricQuiltRelease下载次数: 4,6221.9.0satin-1.9.0.jar下载1.9.0#ReleaseVersion 1.9.0:**Changes**- The vertex format specified in `ShaderEffectManager#manageCoreShader` is now used by `RenderLayer`s created from `ManagedCoreShader#getRenderLayer`see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.9.0/changelog.md \"Changelog\")展开版本: 1.9.0支持游戏: 1.19, 1.19.1, 1.19.2类型:FabricQuiltRelease下载次数: 134,8101.8.0satin-1.8.0.jar下载1.8.0#ReleaseVersion 1.8.0:Updated to MC 1.19see full changelog [here](https://github.com/Ladysnake/Satin/blob/1.8.0/changelog.md \"Changelog\")展开版本: 1.8.0支持游戏: 1.19-pre1, 1.19-pre2, 1.19-pre3类型:FabricQuiltRelease下载次数: 2781.7.2satin-1.7.2.jar下载1.7.2#ReleaseVersion 1.7.2:- first version available on modrinth- removed iris from transitive dependenciessee full changelog [here](https://github.com/Ladysnake/Satin/blob/1.7.2/changelog.md \"Changelog\")展开版本: 1.7.2支持游戏: 1.18, 1.18.1, 1.18.2类型:FabricQuiltRelease下载次数: 7,201全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
丝绸 API |
楼主
2025-8-10 19:11:25
回复(0)
收起回复
|