Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Tri-Planar/XYZ projection cost vs TLUs?

Hello all I'm just looking for a little bit of clarity on triplanar projection and the xyz premade function. I wrote a material function loosely based off the 3way world projection premade function so that I can essentially utilize all of my masks and noise generators better than making each and every texture unique. It heavily utilizes absolute world position to mask out r+b, r+g, and b+g separately for the masks and textures that I am using. This works absolutely fantastic for flooring and ceilings as well as walls and static objects that can utilize reused materials and resources. My main question is how much would all this affect the cost of processing power or GPU power compared to just a normal material with 4-7 TLU's and maybe a total of 50-60 instructions for setting up and tweaking other variables? I know the shader complexity view is very helpful but can be misleading when it comes to pure instruction count. For instance a shader with 7 TLU's and 53 operators or instructions will be cheaper than a shader with 14 TLU's and 46 operators or instructions even though the engine will just see the same instruction count.

Right Now I'm am using -1 2K normal map -5 1K normal maps -6 1K RGB masks -5 2K noises -3 2K diffuse maps

Those take up a grand total of 36 MB but using world space projection I've been able to make a few base materials and 27 material instances and have every single architectural piece of my world in progress, which is a single mulit-storied building ~19 rooms, textured. I get more detail than I would making 4K or even 8K UV projected textures and I haven't noticed a hit in performance at all but all my PC's I own aren't exactly what you'd call slouches.

I would just like to know if I'm on the right track texturing. I'm going to reuse textures as much as possible for just about every item, and I expect world space projection to be a pretty big part of common materials my objects will use, I'd hate to get so far and realize I may have been building myself up for failure using too much of it.

Product Version: UE 4.9
more ▼

asked Oct 13 '15 at 05:39 AM in Rendering

avatar image

116 5 5 13

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

0 answers: sort voted first
Be the first one to answer this question
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question