X-Plane / XPlaneForExporter

Our .for exporter addon for Blender
https://github.com/X-Plane/XPlaneForExporter
GNU General Public License v3.0
0 stars 0 forks source link

Add X-Plane SHADER global attributes #14

Closed tngreene closed 4 years ago

tngreene commented 4 years ago

At the top of the header we're going to want

SHADER_2D
TEXTURE billboards.png
TEXTURE_NORMAL billboards_NML.png

SHADER_3D
TEXTURE trees_3d.png
TEXTURE_NORMAL trees_3d_NML.png

Along with other standards listed here: https://developer.x-plane.com/article/standard-shading-options-for-x-plane-10-scenery/#Availability_of_Extensions (but certainly not all of them)

tngreene commented 4 years ago
DIRECTIVE Source
TEXTURE Principle BSDF shader's Image Texture Node connected to Base Color
TEXTURE_LIT ?
TEXTURE_NML Image Texture found by following normal_map?