Web3DConsortium / BlenderX3DSupport

5 stars 3 forks source link

Upgrade X3D exporter to X3D v4 Appearance model #4

Open npolys opened 3 years ago

npolys commented 3 years ago

Export PhysicalMaterial, export baseColor, baseTexture.

As X3D v4 Materials By default already follow PBR, some code may actually get more straightforward this way.

If in doubt, follow what glTF exporter does -- they already have Python code to "flatten" complicated Blender material setup using nodes -> simple PBR terms.

coderextreme commented 1 month ago

Please attach a test .blend file. Thanks!