Skip to content

Commit 9c9f1b4

Browse files
committed
fix variable misname issue that broke stereo rendering, add information about shader to readme
1 parent 7b71290 commit 9c9f1b4

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

Assets/HoloToolkit/Utilities/README.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ Provides dynamic Text to Speech. Speech is generated using the UWP SpeechSynthes
6464

6565
### [Shaders](Shaders)
6666

67+
### FastConfigurable.shader
68+
Very fast shader that uses the Unity light system. Compiles down to only performing the operations you're actually using. Uses material property drawers rather than a custom editor for ease of maintenance.
69+
70+
#### HoloToolkitCommon.cginc
71+
Common shader functionality
72+
6773
#### LambertianConfigurable.cginc
6874
Code shared between LambertianConfigurable.shader and LambertianConfigurableTransparent.shader.
6975

@@ -73,6 +79,9 @@ Feature configurable per-pixel lambertian shader. Use when higher quality light
7379
#### LambertianConfigurableTransparent.shader
7480
Feature configurable per-pixel lambertian transparent shader. Use when higher quality lighting and transparency are desired, but specular highlights are not needed.
7581

82+
#### macro.cginc
83+
Preprocessor macros to support shaders
84+
7685
#### StandardFast.shader
7786
Higher performance drop-in replacement for the Unity Standard Shader. Use when very high quality lighting (including reflections) is needed.
7887

Assets/HoloToolkit/Utilities/Shaders/FastConfigurable.shader

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ Shader "HoloToolkit/Fast Configurable"
211211
v2f vert(a2v v)
212212
{
213213
v2f o;
214-
UNITY_SETUP_INSTANCE_ID(IN);
214+
UNITY_SETUP_INSTANCE_ID(v);
215215
UNITY_INITIALIZE_OUTPUT(v2f, o);
216216
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(o);
217217

0 commit comments

Comments
 (0)