Skip to content

Commit

Permalink
Fixed broken links
Browse files Browse the repository at this point in the history
  • Loading branch information
britzl committed Feb 9, 2025
1 parent 8ff7630 commit 2235993
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion collection_splash/example/menu.collection
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ embedded_instances {
id: "go"
data: "components {\n"
" id: \"menu\"\n"
" component: \"/examples/collection/proxy/menu.gui\"\n"
" component: \"/example/menu.gui\"\n"
" position {\n"
" x: 0.0\n"
" y: 0.0\n"
Expand Down
2 changes: 1 addition & 1 deletion gui_layouts/example/change_canvas/change_resolution.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
components {
id: "change_resolution"
component: "/examples/gui/layouts/change_canvas/change_resolution.script"
component: "/example/change_canvas/change_resolution.script"
position {
x: 0.0
y: 0.0
Expand Down
2 changes: 1 addition & 1 deletion material_screenspace/example/example.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ scripts: screenspace.script, screenspace.vp, screenspace.fp

In this example, we create a new material for 3D models in which we convert vertex coordinates to screenspace to get a special effect. It may be called "surface fill", "screenspace fill" and is used, most often in combination with outlines, to highlight objects in 3D games or indicate their status.

We added two game objects and two models to which we assigned our new `screenspace` material. The material is based on [`unlit`](/examples/material/unlit/), but in it:
We added two game objects and two models to which we assigned our new `screenspace` material. The material is based on [`unlit`](/examples/material_unlit/), but in it:
- vertex shader: we added a conversion of the clip space position to the screen position to pass that value to the fragment shader.
- fragment shader: we added sampling the color based on screenspace coordinates and blending into the final output color.
- material properties: we added a new sampler to set a second texture to be used as a pattern, and user-defined uniforms to control the fragment shader.
Expand Down

0 comments on commit 2235993

Please sign in to comment.