ScanMountGoat / xenoblade_blender

Blender addon for importing Xenoblade models, maps, and animations
MIT License
12 stars 1 forks source link

toon color gradients #26

Closed ScanMountGoat closed 1 month ago

ScanMountGoat commented 5 months ago

Materials that render with the toon deferred shader use color ramps in monolib/shader. This can probably be represented as a color ramp in the material with values based on the selected shader database. Users are unlikely to edit the toon ramp textures. It may also be better to load the full texture from png and select a row with material nodes.

ScanMountGoat commented 5 months ago

Editing the material parameter that selects the color gradient will require changes in xc3_model for https://github.com/ScanMountGoat/xc3_lib/issues/15.

ScanMountGoat commented 5 months ago

This should be its own node group to incorporate specular color. The toon deferred shader is completely separate in game from the pbr shader.

ScanMountGoat commented 2 months ago

Material edits for the toon V coordinate should use a node setup that's unlikely to change instead of relying on node naming.