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:
Sergey Sharybin
2015-01-22 00:37:09 +05:00
parent 12ccac657f
commit dda355442d
7 changed files with 58 additions and 4 deletions

View File

@@ -177,6 +177,7 @@ static ShaderEnum image_projection_init()
enm.insert("Flat", NODE_IMAGE_PROJ_FLAT);
enm.insert("Box", NODE_IMAGE_PROJ_BOX);
enm.insert("Sphere", NODE_IMAGE_PROJ_SPHERE);
enm.insert("Tube", NODE_IMAGE_PROJ_TUBE);
return enm;
}