Skip to content

Commit

Permalink
deploy: abb3b77
Browse files Browse the repository at this point in the history
  • Loading branch information
mrDIMAS committed Nov 9, 2023
1 parent 9b6d4c2 commit 22e8b0c
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
12 changes: 6 additions & 6 deletions fyrox/rendering/shaders.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,13 +315,13 @@ <h2 id="built-in-properties"><a class="header" href="#built-in-properties">Built
<p>There are number of built-in properties, that Fyrox will try to assign automatically if they're defined
in your shader:</p>
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody>
<tr><td>fyrox_worldMatrix</td><td><code>Matrix4</code></td><td>Local-to-world transformation.</td></tr>
<tr><td>fyrox_worldViewProjection</td><td><code>Matrix4</code></td><td>Local-to-clip-space transform.</td></tr>
<tr><td>fyrox_boneMatrices</td><td><code>[Matrix4; 60]</code></td><td>Array of bone matrices.</td></tr>
<tr><td>fyrox_useSkeletalAnimation</td><td><code>Vector3</code></td><td>Whether skinned meshes is rendering or not.</td></tr>
<tr><td>fyrox_cameraPosition</td><td><code>Vector3</code></td><td>Position of the camera.</td></tr>
<tr><td>fyrox_worldMatrix</td><td><code>mat4</code></td><td>Local-to-world transformation.</td></tr>
<tr><td>fyrox_worldViewProjection</td><td><code>mat4</code></td><td>Local-to-clip-space transform.</td></tr>
<tr><td>fyrox_boneMatrices</td><td><code>sampler2D</code></td><td>Array of bone matrices packed into a texture. Use <code>S_FetchMatrix</code> built-in method to fetch a matrix by its index.</td></tr>
<tr><td>fyrox_useSkeletalAnimation</td><td><code>bool</code></td><td>Whether skinned meshes is rendering or not.</td></tr>
<tr><td>fyrox_cameraPosition</td><td><code>vec3</code></td><td>Position of the camera.</td></tr>
<tr><td>fyrox_usePOM</td><td><code>bool</code></td><td>Whether to use parallax mapping or not.</td></tr>
<tr><td>fyrox_lightPosition</td><td><code>Vector3</code></td><td>Light position.</td></tr>
<tr><td>fyrox_lightPosition</td><td><code>vec3</code></td><td>Light position.</td></tr>
</tbody></table>
</div>
<p>To use any of the properties, just define a uniform with an appropriate name:</p>
Expand Down
12 changes: 6 additions & 6 deletions print.html
Original file line number Diff line number Diff line change
Expand Up @@ -4877,13 +4877,13 @@ <h2 id="built-in-properties"><a class="header" href="#built-in-properties">Built
<p>There are number of built-in properties, that Fyrox will try to assign automatically if they're defined
in your shader:</p>
<div class="table-wrapper"><table><thead><tr><th>Name</th><th>Type</th><th>Description</th></tr></thead><tbody>
<tr><td>fyrox_worldMatrix</td><td><code>Matrix4</code></td><td>Local-to-world transformation.</td></tr>
<tr><td>fyrox_worldViewProjection</td><td><code>Matrix4</code></td><td>Local-to-clip-space transform.</td></tr>
<tr><td>fyrox_boneMatrices</td><td><code>[Matrix4; 60]</code></td><td>Array of bone matrices.</td></tr>
<tr><td>fyrox_useSkeletalAnimation</td><td><code>Vector3</code></td><td>Whether skinned meshes is rendering or not.</td></tr>
<tr><td>fyrox_cameraPosition</td><td><code>Vector3</code></td><td>Position of the camera.</td></tr>
<tr><td>fyrox_worldMatrix</td><td><code>mat4</code></td><td>Local-to-world transformation.</td></tr>
<tr><td>fyrox_worldViewProjection</td><td><code>mat4</code></td><td>Local-to-clip-space transform.</td></tr>
<tr><td>fyrox_boneMatrices</td><td><code>sampler2D</code></td><td>Array of bone matrices packed into a texture. Use <code>S_FetchMatrix</code> built-in method to fetch a matrix by its index.</td></tr>
<tr><td>fyrox_useSkeletalAnimation</td><td><code>bool</code></td><td>Whether skinned meshes is rendering or not.</td></tr>
<tr><td>fyrox_cameraPosition</td><td><code>vec3</code></td><td>Position of the camera.</td></tr>
<tr><td>fyrox_usePOM</td><td><code>bool</code></td><td>Whether to use parallax mapping or not.</td></tr>
<tr><td>fyrox_lightPosition</td><td><code>Vector3</code></td><td>Light position.</td></tr>
<tr><td>fyrox_lightPosition</td><td><code>vec3</code></td><td>Light position.</td></tr>
</tbody></table>
</div>
<p>To use any of the properties, just define a uniform with an appropriate name:</p>
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion searchindex.json

Large diffs are not rendered by default.

0 comments on commit 22e8b0c

Please sign in to comment.