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"

How can I get large quantities of sphere masks into a material?

Hi!

I have a simple sphere mask material for ground displacement at a location and I've been trying to create a solution for applying up to 50 of these across a (spherical) mesh at runtime.

The best approach seems to be writing to a texture parameter with a render target and reading pixel values. This guide by xnihil0zer0 shows one such approach but I have not had luck implementing it with sphere masks.

Below is the material for one instance of the sphere mask: alt textalt text

Product Version: UE 4.20
Tags:
1.png (378.6 kB)
2.png (291.1 kB)
more ▼

asked Jan 29 '19 at 01:34 AM in Rendering

avatar image

kevincvanhorn
63 3 4 8

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

In my situation, I only needed to add one sphere mask at a time, so I am projecting the sphere mask onto a respective plane of the sphere using the below technique applied to local space (see: orthogonal basis & basis transformation in linear algebra)

https://answers.unrealengine.com/questions/869926/view.html

more ▼

answered Jan 30 '19 at 12:50 AM

avatar image

kevincvanhorn
63 3 4 8

(comments are locked)
10|2000 characters needed characters left
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