Changeset View
Changeset View
Standalone View
Standalone View
materials_utils/material_converter.py
| Context not available. | |||||
| links.new(latestNode.outputs['Color'], mainShader.inputs['Color']) | links.new(latestNode.outputs['Color'], mainShader.inputs['Color']) | ||||
| # Y Position next texture node | # Y Position next texture node | ||||
| currPosY = currPosY - (textureNodeSizeY * (texCount)) | currPosY -= textureNodeSizeY * (texCount) | ||||
| # BI Material to Cycles - Alpha Transparency | # BI Material to Cycles - Alpha Transparency | ||||
| textureSlots = [textureSlot for textureSlot in cmat.texture_slots if | textureSlots = [textureSlot for textureSlot in cmat.texture_slots if | ||||
| Context not available. | |||||