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"

Floating point division by zero material error

I suddenly got this strange error when I compiled my post process material. I doubt it is because of something in the material because I only changed something small and simple. What is it about?

alt text

Product Version: UE 4.12
more ▼

asked Aug 22 '16 at 06:33 PM in Bug Reports

avatar image

945 104 147 201

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

1 answer: sort voted first

Hey Davision,

This could be caused by a math error as it says you are dividing by zero. Can you provide me with more context or a screenshot of your material so I can get an idea of how this is occurring?


Andrew Hurley

more ▼

answered Aug 22 '16 at 07:09 PM

avatar image Davision Aug 30 '16 at 11:10 AM

Forgot to mention, it compiled again the next time I tried, it just took ages, well it always takes very long. Had it not happen again but maybe it is related to it compiling so very long. Diving anything by zero is not a problem in a material from what I know. The post process material is pretty complex so a screenshot will not help really.

avatar image Ninjin Jan 08 '17 at 10:40 AM

Not sure about "dividing by zero in a material" is true. It's mentioned in the docs that you shouldn't do it and I can imagine that this operation might fail on some older hardware. Would be awesome if someone can confirm that.

*Also, you never know by what the division is replaced with.

(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