Simple shader to apply topographic-map-like shading to a mesh using world Y. Includes helper functions and plugin for generating the 1D texture and the palette used. Can be easily changed to use object space instead of world, see inside the .fx file (maybe in v2 it will be settable...).
Thanks to all for the help in the forum discussion!
how to change .fx to map it Z world?
@DiMiX - excellent question! Seems like there could be a way to use the texture transform to modify it, but I'd have to fool around with it. Anyone? Anyone? Bueller?
Has anyone made a version of this for DX11?
Just realized it's actually part of this shader, but is coming up red, and technique is empty...
anonymous user login