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"

[Closed] 动态生成的光源在正交投影(Orthographic)摄像机下的显示问题

问题的背景是这样的,我有如下图的一个actor蓝图: alt text 这其中包含1个盒体触发器,1个箭头组件,由4个sprite组成的地板以及4个点光源。

理想设想下,在游戏开始后player会沿着地面一直移动,触发了触发器后在箭头组建的位置自动生成相同的一个actor,这样player就会无止境地跑下去。

但是,在实际测试中出现了如下图的问题: alt text alt text 刚开始actor中的光源还正常,但很快就开始逐渐衰减,直到3.png中的位置光源完全失效,之后就再也没有恢复。

我试着在关卡中加入一个全局光,这个问题依然存在,但如果把actor中的光源去掉只留下全局光,那么光照又是正常的,并且将摄像机模式改成透视投影(Perspective)后,光照也是正常的。。。

所以这是摄像机的某个设置决定的吗?又或是正交摄像机的bug?

Product Version: UE 4.20
Tags:
1.png (439.3 kB)
2.png (345.0 kB)
3.png (330.5 kB)
more ▼

asked Sep 09 '18 at 02:34 PM in Chinese

avatar image

百里崇明
1 1 2

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

The question has been closed Oct 11 '18 at 10:27 AM by Feng.Li for the following reason:

问题先关闭了,如果后续有问题,可以再提。


1 answer: sort voted first

生成的地板同时也会生成pointlight吗?另外如果你的人物需要动态pointlight,为何不给角色本身动态挂一个pointlight?

more ▼

answered Oct 08 '18 at 08:07 AM

avatar image

Feng.Li STAFF
29 2 1 4

avatar image 百里崇明 Oct 09 '18 at 09:30 AM

pointlight是和地板绑定并且同时生成的,主要用于场景,暂时没有要给角色绑定pointlight

avatar image Feng.Li STAFF Oct 09 '18 at 09:33 AM

能否提供我一份测试用例,我来看下。

avatar image 百里崇明 Oct 11 '18 at 10:24 AM

不好意思,时间过了太久,我尝试了一天也重现不了问题。。。但是我仍然感觉正交投影下的光源显示存在什么问题,我会继续尝试,感谢你的回答

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

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question