RenderTexture
2017-01-03 14:40
381 查看
https://docs.unity3d.com/Manual/class-RenderTexture.html
Anti-Aliasing: 抗锯齿级别
none,Bilinner线性,Trilinear(暂时理解成比线性效果更好就行)
Render Texture被拖到Camera的TargetTexture上就可以让Camera不向Render Texture输出,而不再向屏幕输出
运行后能在RenderTexture中看到渲染结果,停止运行RenderTexture结果也没有消失,停止运行后也可以选择ColorFormat并看到对应的效果,比如
ARGB32模式下渲染的Rendtexture
Depth模式
https://docs.unity3d.com/Manual/class-RenderTexture.html
Size:
图片像素尺寸,这个size可以直接在脚本里通过width和height动态修改Anti-Aliasing: 抗锯齿级别
Color Format:
记录shadowmapping相关的几种,不同格式之间就是存的数据量,精度不同ARGB32模式
https://docs.unity3d.com/ScriptReference/RenderTextureFormat.ARGB32.htmlDepth模式
https://docs.unity3d.com/ScriptReference/RenderTextureFormat.Depth.htmlShadowMapping模式
https://docs.unity3d.com/ScriptReference/RenderTextureFormat.Shadowmap.htmlDepth Buffer
深度缓存,none不记录,或使用16bit,24bit记录Wrap Mode
覆盖模式,repeat重复,clamp拉伸Filter Mode
当texture被拉伸时的过滤方式none,Bilinner线性,Trilinear(暂时理解成比线性效果更好就行)
Render Texture被拖到Camera的TargetTexture上就可以让Camera不向Render Texture输出,而不再向屏幕输出
运行后能在RenderTexture中看到渲染结果,停止运行RenderTexture结果也没有消失,停止运行后也可以选择ColorFormat并看到对应的效果,比如
ARGB32模式下渲染的Rendtexture
Depth模式
https://docs.unity3d.com/Manual/class-RenderTexture.html
相关文章推荐
- Java OCR tesseract 图像智能字符识别技术 Java代码实现
- 开源 java CMS - FreeCMS2.6发布
- Eclipse 插件安装、升级和卸载的方法
- Android蓝牙基础方法
- Linux命令备忘
- spring容器无法注入service(No qualifying bean of type)
- 2016一路有你,2017一起同行
- spring中@param和mybatis中@param使用区别
- Ajax使用WCF实现小票pos机打印源码
- 编译Android2.2源码(2):运行模拟器
- 【腾讯优测干货分享】如何降低App的待机内存(四)——进阶:内存原理
- 使用Markdown:你的博客可以更漂亮
- 内存与内存地址
- Composer 常用命令
- 多线程
- 机器学习算法总结
- Android 软键盘弹出时把原来布局顶上去的解决方法
- 解决 android 高低版本 webView 里内容 自适应屏幕的终极方法
- java的linux执行的shell
- 【腾讯Bugly干货分享】微信终端跨平台组件 Mars 系列 - 我们如约而至