TokisanGames/Terrain3D

Make get_texture_id report autoshader material

TokisanGames opened this issue · 2 comments

Description

It currently vec3(base/overlay/blend) but ignores the autoshader. If the autoshader is enabled, it should report that texture_id instead.

Pending architechture changes, this should just be a case of duplicating the autoshader calculations to get correct blend value and reading the material settings for the auto texture ids / slope / falloff

#371 has been merged. Now the Material can directly access Storage.