TheStolenBattenberg
Member
Hey,
Thanks to the previous help from xygthop3 [Here: https://forum.yoyogames.com/index.php?threads/3d-position-to-2d-position.41203/], I was able to get my 3D Crepuscular Rays shader working. As said there I'm not too good when it comes to shader programming; so I'm not sure if this is possible.
Here is what I have at the minute:
This is good, but if I turn the camera around:
Light doesn't do that, and I don't want it to in the shader.
I guess what I'm asking, is how can I stop the rays from coming from any direction, rather than just from the sun? Currently Rays just come from anywhere that isn't occluded, which isn't good.
Thanks,
- TSB
Thanks to the previous help from xygthop3 [Here: https://forum.yoyogames.com/index.php?threads/3d-position-to-2d-position.41203/], I was able to get my 3D Crepuscular Rays shader working. As said there I'm not too good when it comes to shader programming; so I'm not sure if this is possible.
Here is what I have at the minute:
This is good, but if I turn the camera around:
Light doesn't do that, and I don't want it to in the shader.
I guess what I'm asking, is how can I stop the rays from coming from any direction, rather than just from the sun? Currently Rays just come from anywhere that isn't occluded, which isn't good.
Thanks,
- TSB