Cycles: Support tube projection for images

This way Cycles finally becomes feature-full on image projections
compared to Blender Internal and Gooseberry Project Team could
finally finish the movie.
This commit is contained in:
2015-01-22 00:37:09 +05:00
parent 12ccac657f
commit dda355442d
7 changed files with 58 additions and 4 deletions

View File

@@ -3437,6 +3437,8 @@ static void def_sh_tex_image(StructRNA *srna)
"Image is projected using different components for each side of the object space bounding box"},
{SHD_PROJ_SPHERE, "SPHERE", 0, "Sphere",
"Image is projected spherically using the Z axis as central"},
{SHD_PROJ_TUBE, "TUBE", 0, "Tube",
"Image is projected from the tube using the Z axis as central"},
{0, NULL, 0, NULL, NULL}
};