将场景渲染为纹理 Three.js [英] Rendering a scene as a texture Three.js

查看:32
本文介绍了将场景渲染为纹理 Three.js的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在努力实现这一目标:http://learningwebgl.com/blog/?p=1786 与 Three.js.我不知道从哪里开始寻找.仅将场景作为纹理传递会导致类型错误.

I'm trying to achieve this: http://learningwebgl.com/blog/?p=1786 with Three.js. I have no idea where to start looking. Just passing the scene as a texture gives a type error.

推荐答案

我在这里找到了答案:http://mrdoob.github.com/three.js/examples/webgl_rtt.html

Three.js 可能没有最好的文档,但示例几乎涵盖了所有情况.

Three.js might not have the best documentation but the examples almost cover every situation.

这篇关于将场景渲染为纹理 Three.js的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆