<p dir="auto">I am trying to create a group that consists of THREE.Line and THREE.Mesh:</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="var line = new THREE.Line(text3d, lineMaterial);
var mesh = new THREE.Mesh(text3d, faceMaterial);
var group = new THREE.Object3D();
group.add(line);
group.add(mesh);"><pre class="notranslate"><code class="notranslate">var line = new THREE.Line(text3d, lineMaterial);
var mesh = new THREE.Mesh(text3d, faceMaterial);
var group = new THREE.Object3D();
group.add(line);
group.add(mesh);
</code></pre></div>
<p dir="auto">Unfortunately, only the "line" is rendered to the scene. If I change the order of adding to the group, that is that if I add "mesh" to the group before "line", then only "mesh" is rendered.</p>
<p dir="auto">Of course, I want both elements to be rendered.</p>
<p dir="auto">Any help?</p>
<p dir="auto">PS. Great work on three.js, keep it up!</p>
<p dir="auto">In SpritePlugin.js line 190</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="if ( material.map &amp;&amp; material.map.image &amp;&amp; material.map.image.width ) {
     //RENDER"><pre class="notranslate"><code class="notranslate">if ( material.map &amp;&amp; material.map.image &amp;&amp; material.map.image.width ) {
     //RENDER
</code></pre></div>
<p dir="auto">My Code</p>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//Used as the sprites map
this.miniMapTexture = new THREE.WebGLRenderTarget( 512, 512, { minFilter: THREE.LinearFilter, magFilter: THREE.NearestFilter, format: THREE.RGBFormat } 
);
//Code below causes miniMapTexture to render properly
this.miniMapTexture.image = {};
this.miniMapTexture.image.width = &lt;any number&gt;;"><pre class="notranslate"><code class="notranslate">//Used as the sprites map
this.miniMapTexture = new THREE.WebGLRenderTarget( 512, 512, { minFilter: THREE.LinearFilter, magFilter: THREE.NearestFilter, format: THREE.RGBFormat } 
);
//Code below causes miniMapTexture to render properly
this.miniMapTexture.image = {};
this.miniMapTexture.image.width = &lt;any number&gt;;
</code></pre></div>
<p dir="auto">The sprite with a RTT as a map never gets rendered because this.miniMapTexture.image is not set. I set the map.image to [] and map.image.width to 512 and it rendered properly.</p>
<p dir="auto">Removing the restrictions on material.map.image or adding values to the RTT should fix this.</p>