Skip to content

Commit

Permalink
update web docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pixelflinger committed Dec 3, 2024
1 parent 04de23a commit 5817ddf
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 10 deletions.
13 changes: 11 additions & 2 deletions docs/Materials.html
Original file line number Diff line number Diff line change
Expand Up @@ -1787,7 +1787,12 @@
declare a variable called <code>eyeDirection</code> you can access it in the fragment shader using
<code>variable_eyeDirection</code>. In the vertex shader, the interpolant name is simply a member of
the <code>MaterialVertexInputs</code> structure (<code>material.eyeDirection</code> in your example). Each
interpolant is of type <code>float4</code> (<code>vec4</code>) in the shaders.
interpolant is of type <code>float4</code> (<code>vec4</code>) in the shaders. By default the precision of the
interpolant is <code>highp</code> in <em class="asterisk">both</em> the vertex and fragment shaders.
An alternate syntax can be used to specify both the name and precision of the interpolant.
In this case the specified precision is used as-is in both fragment and vertex stages, in
particular if <code>default</code> is specified the default precision is used is the fragment shader
(<code>mediump</code>) and in the vertex shader (<code>highp</code>).

</p></dd></dl><p></p><pre class="listing tilde"><code><span class="line">material {</span>
<span class="line"> name : Skybox,</span>
Expand All @@ -1798,7 +1803,11 @@
<span class="line"> }</span>
<span class="line"> ],</span>
<span class="line"> variables : [</span>
<span class="line"> eyeDirection</span>
<span class="line"> eyeDirection,</span>
<span class="line"> {</span>
<span class="line"> name : eyeColor,</span>
<span class="line"> precision : medium</span>
<span class="line"> }</span>
<span class="line"> ],</span>
<span class="line"> vertexDomain : device,</span>
<span class="line"> depthWrite : <span class="hljs-literal">false</span>,</span>
Expand Down
12 changes: 7 additions & 5 deletions docs/remote/filament.js

Large diffs are not rendered by default.

Binary file modified docs/remote/filament.wasm
Binary file not shown.
Binary file modified docs/webgl/albedo.ktx2
Binary file not shown.
Binary file modified docs/webgl/ao.ktx2
Binary file not shown.
Binary file modified docs/webgl/default_env/default_env_ibl.ktx
Binary file not shown.
Binary file modified docs/webgl/default_env/default_env_skybox.ktx
Binary file not shown.
Binary file modified docs/webgl/default_env/default_env_skybox_tiny.ktx
Binary file not shown.
12 changes: 9 additions & 3 deletions docs/webgl/filament.js

Large diffs are not rendered by default.

Binary file modified docs/webgl/filament.wasm
Binary file not shown.
Binary file modified docs/webgl/metallic.ktx2
Binary file not shown.
Binary file modified docs/webgl/normal.ktx2
Binary file not shown.
Binary file modified docs/webgl/parquet.filamat
Binary file not shown.
Binary file modified docs/webgl/plastic.filamat
Binary file not shown.
Binary file modified docs/webgl/roughness.ktx2
Binary file not shown.
Binary file modified docs/webgl/suzanne.filamesh
Binary file not shown.
Binary file modified docs/webgl/textured.filamat
Binary file not shown.
Binary file modified docs/webgl/triangle.filamat
Binary file not shown.

0 comments on commit 5817ddf

Please sign in to comment.