Toggle navigation
Polycount
News
Forums
Patreon
Challenges
Quarterly Character Art Challenge
Bi-Monthly Environment Art Challenge
Wiki
Moar
Recent
Activity
Badges
Drafts
Store
Sign In
·
Register
Author:
Justo
Home
›
Technical Talk
Displacement problem [UDK]
Selaznog
polycounter lvl 8
Offline /
Send Message
Selaznog
polycounter lvl 8
Feb 2013
Hey guys, I decided to play around with tesselation.
My displacement is only working vertically, however I need the bricks to pop out the side of the wall. I feel like this should be an easy quick fix. Any help would be hot!
0
·
Share on Facebook
Share on Twitter
Replies
Offline /
Send Message
JamesWild
polycounter lvl 8
Feb 2013
The values you're feeding into the multiply:
A world normal. Two examples here, (0, 0, 1) for upwards facing and (1, 0, 0) for side facing.
A displacement offset. This is (0, 0, H).
(0*0, 0*0, 1*H) << Upwards facing moves up by H.
(1*0, 0*0, 0*H) << Sidewards facing does not move, all zero.
Use 1-consts, not 3-consts, for your offset heights.
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
Selaznog
polycounter lvl 8
Feb 2013
Thanks James, figured it out
0
·
Share on Facebook
Share on Twitter
Sign In
or
Register
to comment.
Replies
A world normal. Two examples here, (0, 0, 1) for upwards facing and (1, 0, 0) for side facing.
A displacement offset. This is (0, 0, H).
(0*0, 0*0, 1*H) << Upwards facing moves up by H.
(1*0, 0*0, 0*H) << Sidewards facing does not move, all zero.
Use 1-consts, not 3-consts, for your offset heights.