It is currently 24 Jun 2017, 02:06

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Automatic Cubic Texture Projection Compound
PostPosted: 01 Dec 2015, 15:20 
Offline

Joined: 21 Jul 2013, 21:30
Posts: 8
Location: berlin
Attached you find a compound that i find very helpfull.

It sets up the same Cubic texture Projection in World space for all objects that share the shader.
It saves you the time to connect and update your texture projections manually,
and it makes complex shaders with lots of different texture projections easier to handle.

How it works:
use it just like an image node in the render tree.
It lets you set up the size of the Texture in scene units, Rotate the texture simultanely on all three axis and lets you apply a gamma correction to the texture(set this to 1 for no gamma correction)

I do architectural Visualisations and I use this or a similar shader mainly for abstract materials like concrete, asphalt, plaster etc. that i have in a predefined library and can put on any scene object without having to think too much about texture projections, wrapping and updating projections after changes to the objects.
I also use it frequently in complex shaders with multiple texture maps so i can avoid beeing confused by having too many different texture projections.

downsides:
it is limited in working best with abstract materials on objects that mainly are aligned to the world space system
it does not show its textures in the textured or textured decal mode of the viewport.
you cant use the texture editor with this shader.
as it is a relative complex compund with several nodes, it taxes you in loading time for your scenes. on my computer that would be around a 1/4 second for each shader of this kind.


Attachments:
AutoCubeTex_101.xsirtcompound [38.74 KiB]
Downloaded 94 times
AutoCubeA.jpg
AutoCubeA.jpg [ 245.88 KiB | Viewed 781 times ]
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group