<p dir="auto">I'm trying to get three.js to run in rogerwang/node-webkit, the <code class="notranslate">canvas_</code> examples are all fine, but I got a       <code class="notranslate">Uncaught TypeError: Type error</code> when opening the <code class="notranslate">webgl_</code> examples.</p>
<p dir="auto">The line that caused this problem is:</p>
<div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="_gl.uniformMatrix4fv( p_uniforms.projectionMatrix, false, camera._projectionMatrixArray );"><pre class="notranslate"><span class="pl-s1">_gl</span><span class="pl-kos">.</span><span class="pl-en">uniformMatrix4fv</span><span class="pl-kos">(</span> <span class="pl-s1">p_uniforms</span><span class="pl-kos">.</span><span class="pl-c1">projectionMatrix</span><span class="pl-kos">,</span> <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-s1">camera</span><span class="pl-kos">.</span><span class="pl-c1">_projectionMatrixArray</span> <span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div>
<p dir="auto">After commenting this line, other calls to <code class="notranslate">_gl.uniformMatrix4fv</code> will still throw type errors.</p>
<p dir="auto">Since three.js is fine under Chromium, so I think it's caused by absence of some features in node-webkit, what reasons do you think may have caused this error?</p>
<p dir="auto">Thanks.</p>
<h5 dir="auto">Description of the problem</h5>
<p dir="auto">Why is there no videoTexture toJson imlpemented. Saving state of a videoTexture saves it as Texture with an image and not VideoTexture with video. This happens because videoTexture inherits its toJson from Texture.</p>
<p dir="auto">Also there is no support for parsing videoTexture and saving video tags. Is the video saving feature under development or are we have to stop using videoTexture and use Texture with render loop to drawImage.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li>[ x] Dev</li>
<li>[ x] r80</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Chrome</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Firefox</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Internet Explorer</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Windows</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Linux</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Android</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> IOS</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>