Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

ShaderFrog/editor

Repository files navigation

Shaderfrog 2.0 "Hybrid Graph" UI Editor

Hybrid Graph editor screenshot

This is the standalone repository for the Shaderfrog Hybrid Graph Editor UI. For convenience of local development, this repository is also configured as a Next.js app, so you can run the Next.js server locally to develop on the editor component.

Install and run

Install:

npm install

Then start the Next.js app:

npm run dev

Navigate to http://localhost:3000.

Local development

Shaderfrog is built on a nested tech stack, sometimes called "open core" software.

shaderfrog module structure

The code struture:

src/ # All source code
 editor/ # The editor component code
 editor-engine-plugins/ # The engine specific UI components (like Babylon, Three)
 editor-util/ # Shared utility functions
 shaders/ # Example shaders
 pages/ # The Next.js app page
 api/ # API interface and stub API data

In production, the Shaderfrog editor reads from a database and lets you create and save shaders. This standalone editor does not let you persist shaders.

Instead, there is a stub API implementation for both server-side rendered props and client API calls in src/api/stub.ts.

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /