Hey!
I’m using Gamma 2021.3.0 + Stride 0.9.69
I noticed that in Stride Directional Light won’t render (like it is disabled) if its position is set perfectly on the Y axis.
For instance, position values like:
[0. 2. 0.] won’t work
[0.01 2. 0] or [0. 2. 0.01] work
Problem only shows up along the Y axis.
i.e. [2. 0. 0.] or [0. 0. 2.] will work fine.
I’m using a Target position of [0. 0. 0.] everytime.
Maybe some divide-by-zero problem somewhere under the hood?
Hope this helps!
…and same happens with Spotlight :)
I’m updating the topic accordingly.
tonfilm
February 19, 2021, 6:38pm
3
yes, we are aware of that, the culprit is a LookAt node used inside. so for now make sure that position and target are not exactly on top of each other.
opened 11:53AM - 10 Nov 20 UTC
closed 06:01PM - 16 Feb 23 UTC
bug
VL.Stride
Reported that a long time ago and the question came up during the 'Realtime grap… hics with Stride 3D – The Fundamentals' Workshop. So now the Issue.
See the Testpatch.
[LightPosition_Bug.zip](https://github.com/vvvv/VL.Stride/files/5517002/LightPosition_Bug.zip)
![image](https://user-images.githubusercontent.com/1189037/98670701-5b8a9a80-2353-11eb-8488-3158a7d5872a.png)
If you need that, you can easily make your own light entity by connecting a light component to an entity and do your own transformation. the light entity nodes are only a “default” setup for easy use.
system
Closed
February 19, 2022, 6:38pm
4
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.