Skip to content

docs(scripting): shaders#793

Open
lancesnider wants to merge 6 commits into
mainfrom
shaders
Open

docs(scripting): shaders#793
lancesnider wants to merge 6 commits into
mainfrom
shaders

Conversation

@lancesnider

@lancesnider lancesnider commented Jul 8, 2026

Copy link
Copy Markdown
Collaborator

Adds documentation for shaders and script settings.

@lancesnider lancesnider requested a review from a team as a code owner July 8, 2026 23:21
@lancesnider lancesnider requested a review from Copilot July 8, 2026 23:21

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new documentation page introducing WGSL shaders in Rive (with a basic fullscreen-triangle WGSL example and a Lua rendering example) and wires the page into the Scripting docs navigation.

Changes:

  • Add new scripting/wgsl-shaders.mdx page covering shader concepts, authoring, and rendering via GPUCanvas/GPUPipeline.
  • Add the new page to the Scripting navigation in docs.json.

Reviewed changes

Copilot reviewed 2 out of 4 changed files in this pull request and generated 2 comments.

File Description
scripting/wgsl-shaders.mdx New MDX documentation page for WGSL shaders, including examples and editor configuration notes.
docs.json Adds the WGSL shaders doc page to the Scripting section navigation.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread scripting/wgsl-shaders.mdx Outdated
Comment thread scripting/wgsl-shaders.mdx Outdated
lancesnider and others added 2 commits July 8, 2026 16:33
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@mintlify

mintlify Bot commented Jul 8, 2026

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated (UTC)
rive 🟢 Ready View Preview Jul 8, 2026, 11:36 PM

💡 Tip: Enable Workflows to automatically generate PRs for you.

Comment thread docs.json
"scripting/protocols/path-effect-scripts",
"scripting/protocols/transition-condition-scripts",
"scripting/protocols/listener-action-scripts",
"scripting/wgsl-shaders",

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@luigi-rosso I put this under Protocols (Script Types), but shaders aren't a protocol. I'm wondering if I should put shaders, util scripts, and tests somewhere else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants