leapmotion / LeapMotionCoreAssets

Unity Assets for Leap Motion v2 Skeletal Tracking
Apache License 2.0
166 stars 81 forks source link

Depth Texture Shader Variants #92

Closed Amarcolina closed 9 years ago

Amarcolina commented 9 years ago

The EnableDepthBuffer component now also handles the enabling or disabling of the USE_DEPTH_TEXTURE shader variant keyword based on platform availability. A shader variant collection asset was created and assigned to the Graphics Settings to ensure that all shaders and variants were included in an executable build.

Leap Image Retriever was slightly changed. Before, it would disable all variants except for the currently needed one. This could potentially have undesired effects by disabling variants for other peoples shaders.

All shaders had tabs replaced with 2 spaces.

QuickSwitchDemo has been updated to use LOW_LATENCY passthrough. The accompanying QuickSwitchCameraRig has also been updated