Modding:Rendering API: Difference between revisions
From Vintage Story Wiki
(Link to render stages page) |
(Link to the texture atlas) |
||
Line 1: | Line 1: | ||
<languages/><translate> | <languages/><translate> | ||
<!--T:1--> | <!--T:1--> | ||
The [[Modding:Render_Stages|render stages]] explain how the rendering is divided at a high level. | |||
Be careful about adding too many textures to the [[Modding:Texture_Atlas|texture atlas]], because the space is limited. | |||
A thorough tutorial is still missing, but until then you can look at the sample code on GitHub! | |||
<!--T:2--> | <!--T:2--> |
Revision as of 04:51, 23 October 2023
The render stages explain how the rendering is divided at a high level.
Be careful about adding too many textures to the texture atlas, because the space is limited.
A thorough tutorial is still missing, but until then you can look at the sample code on GitHub!
- Setting up a custom Shader: https://github.com/anegostudios/vsmodexamples/tree/master/code_mods/ScreenOverlayShaderExample
- Rendering a HUD Element: https://github.com/anegostudios/vsmodexamples/tree/master/code_mods/HudOverlaySample
![Icon Sign.png](/images/thumb/1/15/Icon_Sign.png/32px-Icon_Sign.png)
Wondering where some links have gone?
The modding navbox is going through some changes! Check out Navigation Box Updates for more info and help finding specific pages.
Modding | |
---|---|
Modding Introduction | Getting Started • Theme Pack |
Content Modding | Content Mods • Developing a Content Mod • Basic Tutorials • Intermediate Tutorials • Advanced Tutorials • Content Mod Concepts |
Code Modding | Code Mods • Setting up your Development Environment |
Property Overview | Item • Entity • Block • Block Behaviors • Block Classes • Block Entities • Block Entity Behaviors • World properties |
Workflows & Infrastructure | Modding Efficiency Tips • Mod-engine compatibility • Mod Extensibility • VS Engine |
Additional Resources | Community Resources • Modding API Updates • Programming Languages • List of server commands • List of client commands • Client startup parameters • Server startup parameters Example Mods • API Docs • GitHub Repository |