ScanMountGoat / xenoblade_blender

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

toon color gradients #26

Open ScanMountGoat opened 2 weeks ago

ScanMountGoat commented 2 weeks 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 2 weeks 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 1 week 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.