mojo3d -custom model format

About Monkey 2 Forums Monkey 2 Programming Help mojo3d -custom model format

This topic contains 2 replies, has 2 voices, and was last updated by  AdamStrange 1 year, 9 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #9375

    AdamStrange
    Participant

    Mark. I’m looking into converting my model format into mojo3d. but…

    how would I do this and use a custom shader – not pbr?

    I’ve looked into the mesh and found the vertex3f data and there is room for me to do what I need. but it all needs a custom shader to work?

    #9401

    Mark Sibly
    Keymaster

    You should probably create your own material class, eg:

    Class MyMaterial Extends Material

    No docs here as yet, but start by copying PbrMaterial, renaming the shader, adding your own properties etc.

    #9403

    AdamStrange
    Participant

    ok. I’ll look into that and report 😉

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.