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"

How to get a simple X-Ray Vision (ZBuffer override)?

Hi, I have a car model with an engine inside. Now I want to create a simple x-ray vision where you can see the engine shining through the car (without the car being Transparent).

The black box would be the car's chassis and inside is the engine placed(green sphere) alt text

Now I want to let the engine be drawn over the chassis like this:

alt text

As a programmer I would say i have to override the Z-Buffer to archive a changed drawing-oder but does anyone here know a best-pratice solution for this effect?

Is it possible to access the Z-Buffer without writing custom shaders?

Thanks to anyone with an idea for this :)

Product Version: Not Selected
before.png (35.3 kB)
after.png (36.7 kB)
more ▼

asked Apr 24 '14 at 03:12 PM in Blueprint Scripting

avatar image

329 10 16 33

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

2 answers: sort voted first

Make a new material and assign it to the green sphere. Open the material, and when no nodes are selected you'll see the basic material properties in the Details panel. Under Material, set the Blend Mode to Translucent. Under Translucency, check Disable Depth Test. Now, any object with this material will draw in front of other objects. You can blend them into the scene by wiring one of the Depth nodes into opacity (though this is a discussion for another topic).

more ▼

answered Apr 30 '14 at 07:26 AM

avatar image

277 11 24 27

avatar image Dave4723 Apr 30 '14 at 10:27 AM

thank you very much :)

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

How I could get it above everything, but below only the character? Like this: alt text

more ▼

answered Jun 06 '14 at 09:43 PM

avatar image

11 1 3 4

(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