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"

Enable refraction

Hey,

Just wondering if it's possible to enable refraction without setting sg.EffectsQuality to 2, by doing so i get a huge performance decrease over using sg.EffectsQuality 0 even when no refraction is being rendered

Is refraction really dependent on overall effects quality setting, or can it be enabled by itself through some other way?

Thanks

Product Version: UE 4.10
Tags:
more ▼

asked Jan 06 '16 at 01:23 AM in Rendering

avatar image

KhenaB
98 7 12 18

avatar image Logan Bailey ♦♦ STAFF Jan 06 '16 at 01:45 PM

Hello KhenaB,

When adjusting the overall performance settings for the editor that change is universal. So, if you changed from Epic to Low you would see a performance change across the resolution and graphical functions. If you open the Minimal_Default level that is created with a blank project with starter content you will notice a small statue on the table. The glass has a refraction property assigned to it's material. When entering sg.EffectsQuality 0 into the console commands I am still able to see refraction. So, it should be possible to have refraction without setting quality to 2.

Effects are rendered on a separate pass from materials. So, refraction is not dependent on overall effects quality settings.

-Logan

(comments are locked)
10|2000 characters needed characters left

2 answers: sort voted first

Hello KhenaB,

You are absolutely right. Looking through our documentation I found a section that covers Sg.EffectsQuality. Refraction is flagged as being influenced by this command.

alt text

You can see that before sg.EffectsQuality 2 that the Refraction quality =0. I just tested the command r.RefractionQuality=2 while the EffectsQuality was set to 1 an this allows me to manually influence the refraction only.

-Logan

sg.effects.jpg (89.3 kB)
more ▼

answered Jan 06 '16 at 02:49 PM

(comments are locked)
10|2000 characters needed characters left

Hey Logan,

Here is a gif that show how sg.EffectsQuality affects refraction (not to be confused with reflection), notice how it only kicks in when set at 2

alt text

Thanks

refraction.gif (1.1 MB)
more ▼

answered Jan 06 '16 at 02:35 PM

avatar image

KhenaB
98 7 12 18

avatar image KhenaB Jan 06 '16 at 02:56 PM

This is some very good news as i am able to use refraction with a minimal performance loss now

Thank you Logan!

(comments are locked)
10|2000 characters needed characters left
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