Skip to content

NodeMaterial documentation #17971

@donmccurdy

Description

@donmccurdy

I'd be willing to write documentation for node-based materials in three.js, but need to get a couple questions answered before I feel comfortable doing so.

  1. Is StandardNodeMaterial the material that should be documented, and not MeshStandardNodeMateral? I believe that's true, based on [WIP] GLTFLoader: Add .setUseNodes() option. #14572 (comment) and the goal that MeshStandardNodeMaterial will just be a drop-in replacement for MeshStandardMaterial but the docs would be very different if this is wrong.
  2. Which syntax (see NodeMaterial Simplified Syntax #17105 and NodeMaterial - r8 #17265) should be documented?

I'd prefer to document only one recommended material class, and one recommended syntax style, at the beginning — even if multiple will be available. I'm a bit nervous about having many syntax permutations in use so early with this API.

/cc @sunag @bhouston

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions