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"

specular highlights on translucent material

so i was looking for a way of having specular highlight on a cornea material of an eye, and it seems like no one asked this since 4.8 was out, but i still can't make any progress

what is the propper setup for that?

Product Version: UE 4.8
Tags:
more ▼

asked Jul 14 '15 at 05:28 AM in Rendering

avatar image

Razorfield
11 5 6 9

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

1 answer: sort voted first

Hey Razorfield,

UE4 4.8 now has an experimental feature that will create specular highlights on Translucent materials.

Steps to Recreate:

  1. Create a new Material

  2. Add a base color that will show specularity well, IE a saturated blue.

  3. Plug in a Constant value of say, .5 into specular.

  4. You can add a normal which usually works best, nothing too noise just enough to reflect the specular map.

  5. Change your material Blend mode to Translucent

  6. Scroll down under your Details > Translucency options and click the box for Screen Space Reflection

  7. Under that same Panel Change Lighting Mode to Surface PerPixel, this feature is experimental.

  8. Lastly by pressing the ~ key enter the command r.ForwardLighting 1

This will allow for specularity on the surface of a translucent material.

Enjoy, Logan

more ▼

answered Jul 14 '15 at 02:05 PM

avatar image Melvin Eng Dec 16 '15 at 11:00 AM

Hi Logan,

I did the exact same steps you described, but it didn't work. My translucent material still stays the same as it was, merely see-through without any specular reflection whatsoever. Am I missing something still? FYI I'm using v4.9.1.

Regards, Melvin.

avatar image Logan Bailey ♦♦ STAFF Dec 16 '15 at 02:47 PM

Hello Melvin,

Are you sure you entered r.ForwardLighting 1. You will only see a black material before you do.

alt text alt text

Logan

before_command.jpg (96.9 kB)
aftercommand.jpg (86.3 kB)
avatar image Melvin Eng Dec 17 '15 at 02:11 AM

Hi Logan,

Well yes I did. Anyway I finally managed to enable it. Apparently temporal AA needs to be enabled too.

Cheers :-)

(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