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"

[Closed] Is it possible to use post process effects in viewport derived from SEditorViewport?

We read the guide http://www.michalorzelek.com/blog/tutorial-creating-outline-effect-around-objects/ and it's works OK in Level Editor Viewport. Than we tried to apply this post process effect within custom viewport, but nothing is drawn around object.

We try to use the following code:

  APostProcessVolume* OutlineVolume = PreviewScene.GetWorld()->SpawnActor(FVector::ZeroVector,FRotator(0,0,0));
  OutlineVolume->bUnbound = true;
  FWeightedBlendable OutlineWeightedBlendable(1.0f, OutlineMaterial);


Product Version: Not Selected
more ▼

asked Nov 28 '16 at 10:21 PM in Rendering

avatar image

Answers.Archive STAFF
1.9k 209 316 689

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

The question has been closed Nov 28 '16 at 10:24 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted

1 answer: sort voted first

Hi Kostiantyn,

I'm not entirely sure what effect your custom viewport would have on this or how you're setting things up, but it should be evaluated per view so as long as your volume is in the correct list it should be drawn. You can try debugging the volume accumulation by looking in SceneView.cpp and debugging the DoPostProcessVolume() function which should be getting called from FSceneView::StartFinalPostprocessSettings(). Perhaps the volume isn't registered correctly with the SceneView or another volume is competing, it's very difficult to say without the project to hand. Hopefully debugging the function will reveal what's missing.

Thanks, Chris

more ▼

answered Nov 28 '16 at 10:21 PM

avatar image

Answers.Archive STAFF
1.9k 209 316 689

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question