Game Development Community

Create New Material with Material Editor

by Jordan Eyres · in Torque 3D Professional · 08/04/2010 (12:51 pm) · 2 replies

When using the Material Editor I am unable to create and save a new material.

Saving changes to an already existing material works just as expected.

Interestingly
materialEditorGui.currentMaterial.getFilename()
returns tools/materialEditor/scripts/materialEditor.ed.cs.

So it has occurred to me that a material.cs file is not being created for the new materials.

Looking at the Material Editor video it shows a materialEditor directory being created.

Am I using the material editor wrongly?


Have tried in 1.1 Beta 1 & 2 but with no success.


#1
08/04/2010 (1:05 pm)
make a shape, load it in game, assign changes to the material and save..the materials.cs file will be in the same directory as the shape.
(works like this in 1.1b1)
#2
08/04/2010 (2:06 pm)
For my particular case I wish to create a material that contains a cubemap for the skybox.

So there is no "shape" so to speak.


Thanks for you reply.