unity 3D绘画Paint in 3D 1.1.2
所支持的Unity版本:4.6.1 及以上版本
Paint in 3D allows you to paint all the ob jects in your scene - both in game, and in the editor.
Keep in mind this isn't a decal system, so your game won't lag based on how much you paint. Instead, your FPS will remain the same, even if you paint your ob jects one million times!
Consistent Performance
The reason why Paint in 3D runs so fast even if you paint a lot is because the paint is baked into the textures of your ob ject. Your ob jects already have textures, so why not use them, rightThe code also produces no garbage (0 gc alloc), so you don't have to worry about random lag spikes.
Lightning Fast Painting
Baking paint into textures may sound slow, but the painting code is done 100% on the GPU, which actually makes it incredibly fast. The painting code has also been heavily optimized to minimize state changes by batching paint operations together.
Full C# Source Code
……
需要5金币 或 50 积分 ( 如何获取金币与积分)
免责声明:
【1】资源来自网络,仅限于个人学习研究,请勿用于任何商业用途,请支持或购买正版,尊重版权,请严格遵守国家相关著作版权保护的法律和规则,素材下载所需金币仅为素材收集整理的辛苦费用,并不代表素材本身价值,版权归原作者或其公司所有,请下载24小时内务必删除,否则后果自负,本站不承担任何责任及连带责任!