I’m looking for a way to increase the render distance in the editor view. I’m using raytracing with the HDRP and the render distance is pretty short.
Currently the lighting is only rendered for a relatively small spherical region, for performance reasons I guess.
You can see this effect in the attached image, showing the small render distance.
Can I however increase the render radius with raytracing for the editor?
There are two ways of resolving this:
- Increase the ray length. This can be found under the “global illumination” override under “ray length”. However, it has a maximum value of 50.
- Scale down your game.
I used a combination of these. I decreased all scale, position, velocity, and acceleration values by a factor of 10. Everything behaved the same as it did before and raytracing worked.
NOTE: If you get some clipping of nearby objects, decrease the near clip plane on your camera by an equivalent scaling value.
1 Like
Ah thank you! Just saw it in the Profile.
I wished that the ray length would be as far as I want, because I’m not writing a game, but a high quality ray tracing simulation which does not have to be real-time.
Actually your idea is hilarious, didn’t thought about “shrinking” the scale of the scene!
Nonetheless, the max ray length is completely arbitrary in the engine. Maybe the shader is doing something with this information, but I would prefer any custom ray length.
Thank you!