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"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How do I create a more dynamic cel shaded material?

What I'm Doing Currently I'm using the light vector (from a direct light) fed into a materiel parameter collection, which is then passed to my characters material to create cel shading effect via a ramp texture.

What I want to achieve I want to create a more dynamic system that is effected by multiple lights, and a material instance that can be placed on actors in the scene so they become shaded properly.

The problem That would only be possible if each material parameter could be set on an instanced basses, and I believe that is not the case. Creating a new materiel parameter for each object is out of the question as it would be way to time consuming.

Any thoughts on a better way to reach my objective of a dynamic material cell shading solution?

Product Version: UE 4.13
Tags:
more ▼

asked Oct 02 '16 at 09:30 PM in Rendering

avatar image

Ore Creative
67 4 8 14

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

1 answer: sort voted first

You should consider using Post Process effect for cel shading.

more ▼

answered Oct 02 '16 at 11:31 PM

avatar image

Deathrey
7.8k 130 31 292

avatar image Mr Janks Oct 02 '16 at 11:39 PM

Its not a good solution either as it is expensive and is extremely inflexible.

avatar image Deathrey Oct 03 '16 at 10:31 AM

The only real solution here would be to change the shading model. I bet it is outside of the scope of this particular question.

avatar image Mr Janks Oct 03 '16 at 01:59 PM

That's the best answer I have found so fare. I can recompile the engine using the toon shader model from the Unreal forums.

(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