-
Notifications
You must be signed in to change notification settings - Fork 26
script camera cmd bufs
Tomáš Malý edited this page Jan 10, 2019
·
3 revisions
Attach this script to a game object with regular Unity Camera component.
This script will query the map every frame and use Unity Command Buffers for rendering the acquired meshes. This approach imposes some limitations, such as a problem with rendering shadow maps. However, this optimized rendering path has the advantage of absolutely no precision loss.
See rendering for more details about cameras, materials and shaders.