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"

Larger specular highlight for eye material

alt text

I have been trying to get a larger specular highlight on the eye material found in the Content Example folders. It's possible to do this by changing the light settings, but those lights also affect the scene.

Is it possible to get a larger specular highlight like this by doing something in the material? The specular and roughness are clamped to 0.0 - 1.0, so I can't ramp them up really high.

Is there an option in the material settings or some clever shader math?

Thanks a lot!

Product Version: UE 4.11
eye lighting.png (402.1 kB)
more ▼

asked Sep 14 '16 at 09:36 PM in Rendering

avatar image

144 14 26 30

avatar image Elias Leonard Sep 22 '16 at 04:08 PM

Where did you find the shader in the content examples? name of the scene? I'dd really like to take a look at it :)

avatar image AndrewHurley Sep 22 '16 at 08:26 PM

You can download and open this content from our Content Examples project. Open up the Character Rendering map and you will see the eyeball example.


Andrew Hurley

avatar image Elias Leonard Sep 23 '16 at 07:39 AM

Ah great, thanks :)

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

1 answer: sort voted first

Hey Snow,

This shader is quite specific and there are settings exposed within the material instance which control the specularity for specific parts of the eyeball. You can modify these settings as well as create a new light actor and set it to a specific light channel. You can then set eyeball to that light channel so it adheres to the light settings and does not affect other objects in your scene.

Let me know if you have further questions or need additional assistance.


Andrew hurley

more ▼

answered Sep 22 '16 at 08:30 PM

avatar image Snow Sep 23 '16 at 09:19 PM

Thanks, Andrew.

'Specific' is a nice word for it c: None of the parameters in the material instance can make the highlight big and exaggerated. I was hoping to modify the material, but I'm not sure the material system even supports this.

I have been using light channels, but the feature requires the eyes, tear line and tear duct to be separate actors from the rest of the head. This makes blinking animations very difficult.

I don't suppose there's a way to do light channels by material?

(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