Beispiel #1
0
    def init(node_tree):
        """Initialize node tree with links for this shader.

        :param node_tree: node tree on which this shader should be created
        :type node_tree: bpy.types.NodeTree
        """

        # init parent
        UnlitVcolTex.init(node_tree)

        # enable hardcoded flavors: DEPTH, BLEND_OVER
        UnlitVcolTex.set_blend_over_flavor(node_tree, True)