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. 

Is there any way to set ambient light per pixel?

I am making a voxel game , and calculates a voxel-based ambient light instead of a skylight actor. Each voxel has a different ambient light and is stored inside the vertex color(G channel), but the material editor seems can not set the ambient light directly? My current method is: the ambient light multiplied by the basic color output to the Emissive Color slot, but if the vocal distance from the camera is very far, there will be the wrong effect. Is there any way to avoid this wrong effect?Or there are other ways to make voxel-based? alt text

This is ambient light stored in vertex color(G channel).This AO effext is coused by the voxel ambient light.because each vertex is has different ambient light.

alt text

This is actual display effect,whthout any other light source.

alt text alt text

These are error display effect in a far distance

Product Version: UE 4.15
Tags:
1.png (239.2 kB)
2.png (217.6 kB)
3.png (70.2 kB)
4.png (86.1 kB)
more ▼

asked Jul 20 '17 at 12:04 PM in Rendering

avatar image

子非鱼
1 1 2

(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