effect
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!
anonymous user login
~21d ago
~1mth ago
~1mth ago
~2mth ago
~2mth ago
~2mth ago
~2mth ago
~2mth ago
~2mth ago
~2mth ago
Thanks!
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?
elevation has a transform to rotate the lines' orientations.
also the lines itself are controled by the shader itself. have a look at this ddx and ddy thingy. they can also be replaced with ddx_fine and ddy_fine, but is doesn't seem to make a huge difference.
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...