CGTalk > Software > Autodesk Maya
Login register
Thread Closed share thread « Previous Thread | Next Thread »  
Thread Tools Search this Thread Display Modes
Old 02-21-2013, 11:30 PM   #1
sydney, Australia
Join Date: Dec 2005
Posts: 83
Tri-planar projection with blended surface normals

hi, i wondered if anyone had a link to a maya shader that does this:

Tri-planar projection uses all the three main texturing planes (XY, YZ, XZ), to
avoid distortion. It is based on the fact that texturing is accurate when the surface element is
parallel to the texturing plane, and the distortion is maximal if it is perpendicular. According
to the surface normal we can assign each surface element a dominant plane, and we texture this
surface according to this texturing plane. To get smooth interpolation of the three textures, we
use all the three texturing planes, but weight{SOFT BLENDED} them with the components of the surface normal.

the triplanar projection in maya gives hard edges at the edge of the cube, but shaders in mari
and unity can give SOFT BLENDED edges, unity is a vertex shader, i am not after a vertex shader.

imagine a brick wall triplanar projected on a sphere , it gives ugly lines at the corner of the xyz projection, i want to blend the edges.

i was looking for a maya shader , similar to triplanar that had
Three or six Planar Projections of the Same or different Texture, Blended Together Based on the Surface Normal Vector,
probably have to be a layered shader
,i believe mari has such a shader, and Unity a vertex shader,
though i would aim for not a vertrex shader

as per samples below

mari1 triplanar
nvidia gpu vertex shader

trying to learn shading,

Last edited by cunnax : 02-23-2013 at 04:50 AM.
Old 05-31-2013, 05:36 PM   #2
New Member
Join Date: Feb 2012
Posts: 8
found a solution?

hi cunnax,
have you found a working solution for what you wanted to do?
the thing is that I am searching for the exact same thing and haven't found anything yet.
Old 06-01-2013, 10:07 PM   #3
sydney, Australia
Join Date: Dec 2005
Posts: 83
tri planar shader

hi j
unfortunately no, mari seems to have it in some form, but 1 was looking for a maya
general purpose shader I could use for landscapes as a base, good luck in your hunt
Old 06-01-2013, 10:07 PM   #4
CGTalk Moderation
CGTalk Forum Leader
Join Date: Sep 2003
Posts: 1,066,478
Thread automatically closed

This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
CGTalk Policy/Legalities
Note that as CGTalk Members, you agree to the terms and conditions of using this website.
Thread Closed share thread

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Society of Digital Artists

Powered by vBulletin
Copyright 2000 - 2006,
Jelsoft Enterprises Ltd.
Minimize Ads
Forum Jump

All times are GMT. The time now is 04:20 AM.

Powered by vBulletin
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.