gdquest-demos / godot-shaders

A large library of free and open-source shaders for the Godot game engine. Here, you'll get 2D and 3D shaders with playable demos.
Other
3.06k stars 182 forks source link

Tracker and guide: Update to Godot 4.3 #53

Open NathanLovato opened 3 days ago

NathanLovato commented 3 days ago

This issue focuses on porting the Godot Shaders repository from Godot 3 to Godot 4.3. The repository contains a collection of shaders and demo scenes for 2D and 3D games. The goal is to update the shaders and demo scenes to work with Godot 4.3, so that people can use them in their projects.

How to contribute

I saved a copy of the current shaders for Godot 3 in a branch. We can work directly on the main branch to port the project to Godot 4.3. Here's how you can help.

Every file needs to be checked and compared against the Godot 3 version to make sure it works correctly in Godot 4.3. The scenes, shaders, and GDScript files generally need to be updated to use the new features and syntax of the engine.

Below you will find a list of files that have not been updated yet. I will update the ones left to do as new files get updated and work in Godot 4.3.

Claiming files to update

If you want to help, please:

I'll update the list periodically as you claim some. This is to avoid having multiple people updating the same files in parallel.

Updating the files

To update the files, you'll need to:

  1. Fork the repository and create a new branch.
  2. Update the files to work with Godot 4.3. A handful of shaders will require good familiarity with shader programming to update. Most importantly the 3D water and the energy field ones. Others just need to be tested and updated to the new Godot 4 API. You can use this guide for a list of changes: Godot 4.3 shader API changes. The Godot 4.3 shading language documentation offers a reference for the shading language.
  3. Test the demo scene associated with a given shaders to make sure it works correctly.
  4. Create a pull request to merge your changes back into the main repository.

Here's a video running through the process of tracing where a shader is used and making some quick adjustments to it: Godot 4.3: How to update shaders.

Shaders and dependencies to update

Each checkbox represents a shader. If it's unchecked, it means that this shader and its dependencies haven't been updated yet. If a shader is claimed, you'll find the nickname next to the checkbox.

If you want to work on some shaders, please write a comment below listing the files you'll update.

Note: Be sure to check comments below for files others have claimed. I will not be able to update the list in real-time, so please coordinate with others to avoid working on the same files.

Other tasks:

tetrapod00 commented 3 days ago

Claiming:

Leonardo-Rocha commented 3 days ago

Claiming:

EDIT: seems like the Demo3DEnvironment was fixed already.

Excoh commented 2 days ago

Claiming:

Lexpeartha commented 1 day ago

Claiming:

jrassa commented 20 hours ago

Claiming: