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. 

Make an object invisible but with shadows

[EN] __

Hello!

I wonder if it is possible to make an object invisible but visually we can see the shadows. I can not do it with shaders and not with the blueprint.

Thank you for your response.

(Sorry I use translate.google.com)

[FR] __

Bonjour !

Je voudrais savoir s'il est possible de rendre un objet visuellement invisible mais qu'on puisse y voir les ombres. Je n'y arrive pas avec les Shaders et non plus avec le blueprint.

Merci de vos réactions.

Product Version: Not Selected
Tags:
more ▼

asked Apr 19 '14 at 09:56 AM in Blueprint Scripting

avatar image

Loux xavier
112 21 21 25

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

1 answer: sort voted first

if it is a static object in the world (not a blueprint)

  1. select the object

  2. go to it's details panel

  3. go to the rendering section

  4. set the Actor Hidden In Game flag to true

  5. go to the Lighting section

  6. set the Cast Hidden Shadow flag to true

if it's in a Blueprint, select the component and do the above in its details panel. Hope this helps!

more ▼

answered Jun 26 '14 at 10:02 PM

avatar image

jamesman82
126 3 19 9

avatar image Loux xavier Oct 15 '15 at 02:00 AM

I had completely forgotten this question. x) thank you very much.

avatar image Cirrus Light Feb 04 '16 at 07:49 PM

What if you only want to hide a mesh but have it still cast a shadow?

avatar image Cryptical Feb 04 '16 at 09:13 PM

Haven't tested this but maybe you could use static lightning to create the shadow, build the lightning and then on begin play or whatever set the mesh hidden through code or blueprint. The shadow should not disappear. Of course, this would not work with a moving shadow.

But again, I'm not sure if it would work.

(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