Skip to content

This project should be able to generate shader graphs using Machine Learning in the future, I think

License

Notifications You must be signed in to change notification settings

k0T0z/shader-gen

Repository files navigation

ShaderGen

ShaderGen Graph Implementation ShaderGen Dynamic Rendering

Or mRGM, which stands for mini-RadialGM, is a simple and lightweight version of RadialGM. This is created as part of my Google Summer of Code 2024 project with ENIGMA, see also absl-proto-grpc-ci.

Note

You might be wondering when this will integrated into RGM, right? What? I can't hear you!

Diffs from RadialGM

  • Improved the integration of the Google Protocol Buffers. There are some features inside Google Protocol Buffers' API that are not used in RadialGM.
  • Added a separate model for a oneof.
  • Simplified primitives and repeated primitives.
  • Created a great version of the FieldPath class.
  • The get_sub_model method is now recieve an optional parameter for_set_data to get the sub-model for setting data.

Steps To Add a New Node

  1. Add the node in gui/model/schema/visual_shader_nodes.proto.
  2. Add it inside gui/controller/vs_proto_node.hpp.
  3. Add it inside the VisualShaderEditor(MessageModel* model, QWidget* parent = nullptr) in gui/controller/visual_shader_editor.cpp.
  4. Create a generator for it.

About

This project should be able to generate shader graphs using Machine Learning in the future, I think

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published