x

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"

Material functions don't show stats

Unsure if this is a bug or by design, but it would certainly be helpful to be able to see stats on material functions when you are optimizing a large shader and are running out of texture samplers.

Product Version: Not Selected
Tags:
more ▼

asked Jun 05 '14 at 02:02 AM in Bug Reports

avatar image

Hyperloop
1.2k 57 67 99

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

2 answers: sort voted first

Hi Hypeloop,

I've spoken with one of our developers and I am about to put in a feature request for this to be implemented in a future release. There are no specifics on when this will happen.

I do have this post bookmarked and if it is implemented in a future release I will post that information back here.

Thank you!

Tim

more ▼

answered Jun 17 '14 at 09:04 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

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

Hi Hyperloop,

There are a lot of debug tools included within the editor that may be able to help you better find the solution you're looking for.

You can take a look at the various debug tools and selections by going to the Material Editor tab a the top Windows > Select 'Stat' to display a status window at the bottom of the editor. Also, you can check various stat options on the tool bar that you would like to be displayed.

In the editor viewport you can go to "Show" > Stat (at the bottom) > advanced > there are couple of shader stats you can display by checking them here.

If this doesn't have the information you are needing please be more specific.

Thank you!

Tim

more ▼

answered Jun 05 '14 at 03:14 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 878

avatar image Hyperloop Jun 07 '14 at 03:42 AM

Tim, thank you for your reply. I'm familiar with the stats window, it's very helpful. I just noticed that it doesn't seem to be populating when I'm editing a material function (It works just dandy when I am editing a regular material).

I'm not able to launch the editor at the moment but when I get back to my machine I'll check to be sure I've got the advanced view activated, maybe that's the issue.

avatar image Tim Hobson ♦♦ STAFF Jun 09 '14 at 05:17 PM

Hi Hyperloop,

When using the functions I can see that there isn't a way to look the stats. I'm not sure if this is intended or not. I would imagine it is though as material functions are solely used for passing information that can be reused. The materials are compiling with all the information and it does show that the shader instructions from the function are included.

What type of functionality are you wanting out of the material functions that it's not showing within the stats? Any clarity on this information could assist me in potentially getting an answer.

Thank you!

Tim

avatar image Hyperloop Jun 09 '14 at 11:37 PM

Tim, Thanks for the reply. I think the use case would be that when you are stepping into a material function to edit it, you'd want to be able to see stats on it (especially if you are trying to get a good sense of where you are using your texture samplers in a complex material with several material functions).

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
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