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. 

Imposter UVs for foliage

I have a lot of foliage on my map, and as a lowest level of detail mesh I'd like to use a camera facing 2d plane with a flipbook texture that changes depending on the direction from camera to the sprite. The ImposterUVs material function doesn't work with foliage right now since the material function requires object's position as an input that doesn't work with foliage, I suppose this is because the whole system works by instancing the meshes. Any chance of getting this to work with foliage? I'm also open to workarounds.

Product Version: Not Selected
more ▼

asked Feb 28 '15 at 10:00 AM in Rendering

avatar image

126 12 19 26

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

1 answer: sort voted first

Hi, I have been trying to solve this for a while and after a few answers from the udn I finally have a material that works, it looks like this:

alt text

I use a mesh with crossed planes to get rid of the flickering, so it's not z-fighting with the ground. It makes the imposter a tiny bit offset so haven't found the perfect solution for that yet.

impostermat.jpg (184.4 kB)
more ▼

answered Mar 17 '15 at 04:42 PM

avatar image

5 2

avatar image CupMcCakers Dec 12 '17 at 03:28 PM

Hello, I'm sorry to revive an old thread, I'm attempting to create some Imposter Sprites for foliage. And I'm stuck trying to get them in the correct world position. I can get them to place at the correct location but they seem to stretch and rotate strangely:

alt text

Here's my setup:

alt text

When I use your exact setup my trees are nowhere to be seen!

avatar image CupMcCakers Dec 12 '17 at 03:35 PM

My apologies! It looks like things might be a little different these days! The following setup worked!

alt text

(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