Пример #1
0
    def update_shader_texture_reflection(self, context):

        material = _material_utils.get_material_from_context(context)

        if material:
            _material_utils.update_texture_slots(
                material, self.shader_texture_reflection, 'reflection')
Пример #2
0
    def update_shader_texture_flakenoise(self, context):

        material = _material_utils.get_material_from_context(context)

        if material:
            _material_utils.update_texture_slots(
                material, self.shader_texture_flakenoise, 'flakenoise')
Пример #3
0
    def update_shader_texture_paintjob(self, context):

        material = _material_utils.get_material_from_context(context)

        if material:
            _material_utils.update_texture_slots(material,
                                                 self.shader_texture_paintjob,
                                                 'paintjob')
Пример #4
0
    def update_shader_texture_lightmap(self, context):

        material = _material_utils.get_material_from_context(context)

        if material:
            _material_utils.update_texture_slots(material,
                                                 self.shader_texture_lightmap,
                                                 'lightmap')
Пример #5
0
    def update_shader_texture_iamod(self, context):

        material = _material_utils.get_material_from_context(context)

        if material:
            _material_utils.update_texture_slots(material,
                                                 self.shader_texture_iamod,
                                                 'iamod')
Пример #6
0
    def update_shader_texture_mult(self, context):

        material = _material_utils.get_material_from_context(context)

        if material:
            _material_utils.update_texture_slots(material,
                                                 self.shader_texture_mult,
                                                 'mult')
Пример #7
0
    def update_shader_texture_oclu(self, context):

        material = _material_utils.get_material_from_context(context)

        if material:
            _material_utils.update_texture_slots(material,
                                                 self.shader_texture_oclu,
                                                 'oclu')