• Home
  • Documentation
  • Forum
  • Blog
  • Users
    • Map
    • Userlist
    • Businesses
    • Userpages
    • Connections
  • Contributions
    • All
    • Store
  • Downloads
    • vvvv beta
    • vvvv beta previews
  • Store
Show / Hide Table of Contents

Topographic Phong Shader

Author: mediadog
Date: 18 Feb, 2015
Category: effect

Download

64bit

0-TopoShader-v1.zip
18 Feb, 2015 - 00:29
TopoShader v1

Description

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!

Comments

Comments are no longer accepted.
Please create a new topic in the vvvv beta forum to discuss this contribution.
DiMiX
21 Feb, 2015 - 23:20

Thanks! how to change .fx to map it Z world?

mediadog
22 Feb, 2015 - 20:01

@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?

sebl
22 Feb, 2015 - 21:10

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.

SuperflysiNZ
16 Nov, 2015 - 07:32

Has anyone made a version of this for DX11?

SuperflysiNZ
16 Nov, 2015 - 07:35

Just realized it's actually part of this shader, but is coming up red, and technique is empty...

  • Improve this Doc

© 2020 by vvvv group. Imprint | Privacy Policy.
Thanks to DocFX for building this website. Analytics by Plausible.

Back to top