[x3d-public] RenderedTexture support

Andreas Plesch andreasplesch at gmail.com
Tue Jan 16 19:35:28 PST 2018


Thanks, this is very helpful.

On Tue, Jan 16, 2018 at 6:14 PM, Michalis Kamburelis
<michalis.kambi at gmail.com> wrote:
>  2018-01-16 18:15 GMT+01:00 Andreas Plesch <andreasplesch at gmail.com>:
>> Hi Michalis,
>>
>>...
>> gl.FramebufferTexture2D looks promising. I think what you are suggesting is:
>>
>> 1) create a fbo just for the cube map
>> 2) bind the fbo
>> 3) bind the cube map texture
>> 4) use glFramebufferTexture2D to attach the rendered texture(s) to a face
>> 5) unbind
>>
>> Hm, that would be great since it would be probably mean no further per
>> frame operations necessary.
>>
>
> Yes.
>
> I would say that in 4, we "4) use glFramebufferTexture2D to attach the
> cubemap face as the FBO attachment". But I think we're thinking about
> the same thing:)

I am using the phrasing I picked up from only a short exposure to
webgl. gl seems to have not the most accessible wording, not sure who
is responsible there.

Regards, Andreas




-- 
Andreas Plesch
Waltham, MA 02453



More information about the x3d-public mailing list