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"

Mirror viewport along x axis

Hi all,

I want to implement a simple visual effect for my game: mirroring the rendered image on my viewport along the x axis (basically switching left and right side). Using lowlevel APIs this is as easy to do as flipping a couple signs in the projection matrix.

However it looks like this engine hides this implementation detail very deep within its Viewport/LocalPlayer classes. Camera settings that i have available from the editor/blueprints don't seem to provide anything that could be helpful.

Any tips on how i can implement this in best way possible(if I have to write my own classes in C++ i don't care, i come from programming/OpenGL background, i just am not knowledgeable enough in the inner workings of the engine itself, some directions on where i may start would be useful, thank you)

My current theory is: subclass ULocalPlayer and override its CalcSceneView(...) function, only i don't know yet how to force the engine to use objects of the new class.

If there is a better approach i would like to hear it.

Product Version: UE 4.16
more ▼

asked Jun 02 '17 at 04:46 PM in Rendering

avatar image


avatar image LuisonLiu Apr 17 '19 at 06:34 AM

@jagholin Hi, Did you solve this question? I have same requirements and don't have any ideas...Thx

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

0 answers: sort voted first
Be the first one to answer this question
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