Skip to content

Commit

Permalink
Merge pull request #25 from JenusL/feat/id_aovs
Browse files Browse the repository at this point in the history
Add ID AOVs to supported shaders
  • Loading branch information
sjannuz authored Aug 30, 2018
2 parents dd1070b + d3525cf commit 95610f8
Showing 1 changed file with 116 additions and 2 deletions.
118 changes: 116 additions & 2 deletions shaders/metadata/arnold_shaders.mtd
Original file line number Diff line number Diff line change
Expand Up @@ -2661,7 +2661,16 @@ soft.order STRING "BeginGroup Color base base_color melanin melanin_redness mela
"BeginGroup Tint specular_tint specular2_tint transmission_tint EndGroup "
"BeginGroup Diffuse diffuse diffuse_color EndGroup "
"BeginGroup Emission emission emission_color EndGroup "
"BeginGroup Advanced opacity indirect_diffuse indirect_specular extra_depth extra_samples EndGroup"
"BeginGroup Advanced opacity indirect_diffuse indirect_specular extra_depth extra_samples EndGroup "
"AddTab ID_AOVs "
"BeginGroup ID_1_AOV aov_id1 id1 EndGroup "
"BeginGroup ID_2_AOV aov_id2 id2 EndGroup "
"BeginGroup ID_3_AOV aov_id3 id3 EndGroup "
"BeginGroup ID_4_AOV aov_id4 id4 EndGroup "
"BeginGroup ID_5_AOV aov_id5 id5 EndGroup "
"BeginGroup ID_6_AOV aov_id6 id6 EndGroup "
"BeginGroup ID_7_AOV aov_id7 id7 EndGroup "
"BeginGroup ID_8_AOV aov_id8 id8 EndGroup"

[attr base]
desc STRING "Brightness of the hair, a multiplier for the base color."
Expand Down Expand Up @@ -2768,6 +2777,54 @@ min INT 0
softmin INT 0
softmax INT 8

[attr aov_id1]
soft.label STRING "AOV Name 1"

[attr id1]
soft.label STRING "ID 1"

[attr aov_id2]
soft.label STRING "AOV Name 2"

[attr id2]
soft.label STRING "ID 2"

[attr aov_id3]
soft.label STRING "AOV Name 3"

[attr id3]
soft.label STRING "ID 3"

[attr aov_id4]
soft.label STRING "AOV Name 4"

[attr id4]
soft.label STRING "ID 4"

[attr aov_id5]
soft.label STRING "AOV Name 5"

[attr id5]
soft.label STRING "ID 5"

[attr aov_id6]
soft.label STRING "AOV Name 6"

[attr id6]
soft.label STRING "ID 6"

[attr aov_id7]
soft.label STRING "AOV Name 7"

[attr id7]
soft.label STRING "ID 7"

[attr aov_id8]
soft.label STRING "AOV Name 8"

[attr id8]
soft.label STRING "ID 8"

##############################################################################
[node standard_surface]
soft.category STRING "Surface"
Expand All @@ -2780,7 +2837,16 @@ soft.order STRING "BeginGroup Base base base_color diffuse_roughness metalness E
"BeginGroup Thin_Film thin_film_thickness thin_film_IOR EndGroup "
"BeginGroup Emission emission emission_color EndGroup "
"BeginGroup Geometry thin_walled opacity normal tangent EndGroup "
"BeginGroup Advanced caustics internal_reflections exit_to_background indirect_diffuse indirect_specular EndGroup"
"BeginGroup Advanced caustics internal_reflections exit_to_background indirect_diffuse indirect_specular EndGroup "
"AddTab ID_AOVs "
"BeginGroup ID_1_AOV aov_id1 id1 EndGroup "
"BeginGroup ID_2_AOV aov_id2 id2 EndGroup "
"BeginGroup ID_3_AOV aov_id3 id3 EndGroup "
"BeginGroup ID_4_AOV aov_id4 id4 EndGroup "
"BeginGroup ID_5_AOV aov_id5 id5 EndGroup "
"BeginGroup ID_6_AOV aov_id6 id6 EndGroup "
"BeginGroup ID_7_AOV aov_id7 id7 EndGroup "
"BeginGroup ID_8_AOV aov_id8 id8 EndGroup"

[attr base]
desc STRING "Scales the diffuse component."
Expand Down Expand Up @@ -3053,6 +3119,54 @@ soft.label STRING "Indirect Specular"
min FLOAT 0
max FLOAT 1

[attr aov_id1]
soft.label STRING "AOV Name 1"

[attr id1]
soft.label STRING "ID 1"

[attr aov_id2]
soft.label STRING "AOV Name 2"

[attr id2]
soft.label STRING "ID 2"

[attr aov_id3]
soft.label STRING "AOV Name 3"

[attr id3]
soft.label STRING "ID 3"

[attr aov_id4]
soft.label STRING "AOV Name 4"

[attr id4]
soft.label STRING "ID 4"

[attr aov_id5]
soft.label STRING "AOV Name 5"

[attr id5]
soft.label STRING "ID 5"

[attr aov_id6]
soft.label STRING "AOV Name 6"

[attr id6]
soft.label STRING "ID 6"

[attr aov_id7]
soft.label STRING "AOV Name 7"

[attr id7]
soft.label STRING "ID 7"

[attr aov_id8]
soft.label STRING "AOV Name 8"

[attr id8]
soft.label STRING "ID 8"

##############################################################################
[node standard_volume]
soft.category STRING "Volume"
Expand Down

0 comments on commit 95610f8

Please sign in to comment.