2024-12-12 09:17:33|Myriagame |source:minecraft skins
Brief introduction
Canvas is the future of the rendering library under Fabric, which aims to provide MOD developers with strong development tools to show their talents!
Canvas is the color rendering device of the Fabric module development tool chain.It supports all functions of Fabric Rendering API and expansion defined in FREX.
You can think of it as a substitute for Optifine under Fabric. The optimization of light and shadow quality and performance is far beyond Optifine, but its ability is far more than that. Coloring is its best job.
Through an excellent underlying design, Canvas can help developers better realize the calculation of image rendering, and block rendering from different MODs no longer conflict due to color!
Canvas not only provides you with excellent visual effects, but also provides expansion API sets to help MOD authors complete things that cannot be done by the original interface!
CANVAS aims to optimize high -performance hardware, but can also run on any machine that supports OpenGL 2.1 and GLSL.
If you pursue the maximum performance game experience, you should not regard Canvas as a optimized MOD, sodium is the ultimate choice for pursuing performance. It should be noted that Canvas will never have sodium and high -definition repair (Optifine compatible, see common problems for details.
Canvas is deliberately designed to be compatible with existing Optifine optical bags, but Iris may help you. In the future, it may become a subset in Frex API to help you use Optifine optical bags. For details, see common problems.
Light and shadow suitable for Canvas
Lumi Lights.
Lumi Lights is currently more powerful light and shadow under Canvas. With the tools provided by Canvas, Lumi Lights can be perfectly compatible with the operation of light rendering, such as the light rendering, and other rendering.Water reverse and other functions, the figure below is an example of intercepted in Discord:
Note: The method of loading light and shadow: Put the optical bag [Lumi Lights] into the resourcePacks folder in the main directory.) Select the corresponding light and shadow and fineness.
The meaning of canvas
When people heard Canvas for the first time, they often asked whether it was an alternative to optimize MOD or Optifine / Shaders Mod.
But Canvas does much more than you think.
Optifine and Shaders Mod are mainly suitable for the original Minecraft.Even though they can usually be compatible with most mods and work normally, they are not tools designed for MOD developers.
The main purpose of Canvas is to provide more control and options for MOD creators to help them better render the new blocks added by MOD.It can also be used to build optical bags, but the design is completely different from Optifine, and it does not support all the functions required for complete optical bags to implement.
Unlike Optifine optical bags, the design of Canvas is very modular. You can even mix the Canvas optical bags by adding multiple resource bags, which is enough to see CANVAS compatibility.
Canvas's performance and limitations
Performance
CANVAS aims to optimize high -performance hardware, but can also run on any machine that supports OpenGL 2.1 and GLSL.
If you don’t want to read the large text description below, then I will summarize some points for you:
In the case of expanding a lot of functions, CANVAS still runs much faster than the original game.
Compared with Optifine's light and shadow, the light and shadow implementation of Canvas is very efficient. The FPS of the same quality rendering Canvas is two to three times that of Optifine.
Canvas can efficiently use your hardware resources, and 100% GPU occupation will be the norm, which means that you can get the best game experience.
If you want to pursue extreme performance, use sodium, Canvas should only be a balanced choice for performance and color rendering.
In terms of performance, Canvas with extension function is faster than the original game.Canvas has optimized Minecraft in large quantities -but the purpose of these changes is to achieve better rendering practicality, rather than becoming universal performance mods.
Canvas is not designed for low -performance hosts. Although when you close all the incremental rendering of Canvas, it may make your game overall running faster and can be used as optimized MOD, but it is far better than sodium (sodium) (sodium)Come real.Canvas will try to make full use of your hardware, please do not assign resources to JVM.It requires at least 4 GB of memory and will mobilize your CPU and GPU at the same time.It will put pressure on your computer cooling system.
If you want to play the maximum performance through Canvas, the small prompts in the configuration menu will point you which options have a greater impact on performance.At high resolution, the performance overhead of BLOOM (square light) is particularly huge, but Bloom (Block Gas Light) also looks very interesting, so ... You can customize your Canvas experience according to your needs.
After the stable version is released, more optimization will be added.
Performance contrast
Test environment:
Java: 17.0.1 64bit;
CPU: 8X Intel® Core ™ i7-6700 CPU @ 3.40GHz;
Lwjgl: 3.2.2 Build 10;
OpenGL: NVIDIA GEFORCE GTX 1060 6GB/PCIE/SSE2 GL Version 3.2.0 NVIDIA 511.65, NVIDIA Corporation;
Canvas: 1.0.2322, sodium: 0.4.1;
Game version: 1.18.2, Fabric Loader 0.13.3, Fabric API 0.51.1.
Mobilization
Results: The average 467 FPS of Canvas, up to 598 FPS; the average frame rate of Sodium 361 FPS, up to 402 FPS.
Average frame rate+29%
Static state
Result: Canvas average 729 FPS throughout the process, up to 761 FPS; Sodium average 452 FPS throughout the process, up to 477 FPS.
Average frame rate+61%
limitation
Canvas is still in the Alpha test stage.You should make sufficient psychological preparations to face various problems.At present, the terrain rendering can be used with the light and shadow color device, but items are not rendering (it will be realized in the future).The focus of development is a block in the process of rendering the movement.(The fall of the sand and other blocks or the blocks promoted by the piston, so on.)
As far as the current development is concerned, FREX expansion, color library, vertex format, attribute binding and lighting options may change during development, resulting in compatibility of code iterative compatibility.If there is a stable version, the author will avoid changes in the release version.Until then, the experiment was the norm.
Common questions and answers
Is the sodium (Sodium) module developed by Canvas and JellySquid?
This question has been mentioned many times. The answer is that Canvas and Sodium will never be compatible, because they are more or less rewriting the rendering engine.Both modules can provide Minecraft with better rendering performance, but on most hardware, Sodium is better.
Sodium and Canvas are designed for different goals and users.Sodium is a performance module that optimizes the rendering of the game and provides some good visual improvement. Canvas is a rendering device. While achieving the function, some optimization is added to make the game get better performance performanceEssence
Canvas has provided a lot of optimization for Minecraft, and it is also continuously adding more performance optimization -but the gain of its optimization is used to provide more new features, so if you turn off all the visual effects of Canvas, thenIt is indeed a very good optimization module, but in this case, why not choose sodium?With the emergence of sodium modules, the author can focus on the development of new functions without having to meet users who need performance optimization functions at the same time.
If you are playing some modules that need to use Fabric Rendering API, or you want to experience the excellent visual effects you prepare for you, then choose CanvasSolution).
If you don't need these at all, but you just want excellent performance, you should choose sodium.
But in any case, you can use two other optimized modules of JellySquid: lithium and phosphor (Phosphor) (more recommended by Starlight), and Canvas is completely compatible with these two.Can Canvas allow third -party light and shadow development?
Of course, the author encourages third -party developers to write light and shadow for Canvas.But the light and shadow are the attachments of Canvas. The code is very modular and the installation method is not the same.This means that you have used more or less experience in Optifine, but I believe that learning the benefits brought by Canvas are worth it for developers.
For example, Canvas allows you to define some materials and bind it to objects. You can use Java or Block: Sprite: Material mapping.Each material can have multiple separation light and shadow functions, which will be a highly regionalized work: different modules and resource packages can provide them with different or part of the light and shadow mapping.Canvas will choose a suitable light and shadow function and automatically apply it to an object through the quoted way.
At present, Lumi Lights is one of the highly available light and shadow on Canvas. You can join their Discord community to discuss and learn more Canvas renderer development experience.
Considering the current stage of Canvas, I don't expect third -party light and shadow to iterate well between the versions. The change of the code occurs from time to time. Developers should make sufficient psychological preparations.
What are the use of light and shadow now?
ForgetMenot;
Lumi Lights (supports PBR material);
Lomo;
HoneyShaders;
The following resource packs provide support for some third -party modules:
Canvas Mod Composition;
More canvas compact.
Module author and integrated package author
There is no relevant documentation yet, but you can view the Wiki -Page of Canvas to learn more information, so as to create your custom light and shadow: https: //github.com/grondag/canvas/wiki
Discord is also a good communication platform: https://discord.gg/7naqr2e
Open source protocol
This module and its source code spread under the Apache License 2.0 protocol.
National Service DNF Dark Ni
2025-01-28 09:19:27The new screenshot of the be
2025-01-28 09:18:57The 15th anniversary wallpap
2025-01-28 09:18:273DM Xuanyuan Sinicization Gr
2025-01-28 09:17:57French magazine is the first
2025-01-28 09:17:27The sneak game "Republic" wi
2025-01-28 09:16:57The story between humans and
2025-01-28 09:16:27Capture "Trinity 3: Artifact
2025-01-28 09:15:27Wind direction change "Myste
2025-01-28 09:14:57DICE's new project "Dream" w
2025-01-28 09:14:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:27Pirate Minecraft Skins
Minecraft Skins
2024-12-10 04:11:26Master Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25King Minecraft Skins
Minecraft Skins
2024-12-10 04:11:25Guide Minecraft Skins
Minecraft Skins
2024-12-10 04:11:24Dark Knight Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Sparta Minecraft Skins
Minecraft Skins
2024-12-10 04:11:23Moncraft Skins of the War
Minecraft Skins
2024-12-10 04:11:22Red Witch Minecraft Skins
Minecraft Skins
2024-12-10 04:11:22Golden Cavaliers Minecraft S
Minecraft Skins
2024-12-10 04:11:22