You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 31, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: doc/RFC_XR_Fragments.html
+1-1
Original file line number
Diff line number
Diff line change
@@ -569,7 +569,7 @@ <h2 id="media-fragments-and-datatypes">media fragments and datatypes</h2>
569
569
<p>Example URI’s:</p>
570
570
571
571
<ul>
572
-
<li><code>https://shaders.org/plasma.glsl#t=0&u.col1=1,0,0&u.col2=0,1,0</code> (red-green shader plasma starts playing from time-offset 0)</li>
572
+
<li><code>https://shaders.org/plasma.glsl#t=0&u:col1=1,0,0&u:col2=0,1,0</code> (red-green shader plasma starts playing from time-offset 0)</li>
Copy file name to clipboardExpand all lines: doc/RFC_XR_Fragments.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -275,7 +275,7 @@ These are automatic fragment-to-metadata mappings, which only trigger if the 3D
275
275
| temporal W3C media fragment * | t=[l:]x,y | l:0,1 | play [as loop] between `x` and `y`|
276
276
| temporal W3C media fragment * | s=x[,y]| 1 | set playback speed of audio/video/3D anim |
277
277
| temporal W3C media fragment * | sxy=[l:]x,y | 0.1,0.2 | xy scrollspeed of new xywh viewport/uvcoordinates (default `1,1` is instant): allows lerping to new `xywh` values [or infinite texturescrolling]|
278
-
| temporal W3C media fragment * | u:<uniform>=<string|float|vec2|vec3|vec4> | u.color=1,0,0 | set shader uniform value |
278
+
| temporal W3C media fragment * | u:<uniform>=<string|float|vec2|vec3|vec4> | u:color=1,0,0 | set shader uniform value |
279
279
280
280
> \* = this is extending the [W3C media fragments](https://www.w3.org/TR/media-frags/#mf-advanced) with finer playback/viewport-control:
281
281
@@ -289,7 +289,7 @@ These are automatic fragment-to-metadata mappings, which only trigger if the 3D
289
289
290
290
Example URI's:
291
291
292
-
*`https://shaders.org/plasma.glsl#t=0&u.col1=1,0,0&u.col2=0,1,0` (red-green shader plasma starts playing from time-offset 0)
292
+
*`https://shaders.org/plasma.glsl#t=0&u:col1=1,0,0&u:col2=0,1,0` (red-green shader plasma starts playing from time-offset 0)
0 commit comments