... | ... | @@ -84,11 +84,20 @@ If the area is box-shaped, we can fit our probes bounds to the walls and enable |
|
|
Box Projection is a powerful technique that will fit your reflection probe to a box. Used well, it can make reflections look really good, even if they're just blurry ambient ones.
|
|
|
|
|
|
## Tips and tricks
|
|
|
* Supersampled Probes
|
|
|
### Supersampled Probes
|
|
|
When baking a probe at a low resolution, the result can look a bit low-res. This is because the probe is rendered at that low resolution before it's saved. If you bake the probe at a higher resolution, and then set the Max Size lower on the texture, Unity will render the probe at the higher resolution first, and then squish it down - performing really high-quality anti-aliasing in the process.
|
|
|
|
|
|
![An example of a probe texture set to a lower resolution.](uploads/8ed93dc20bad40639eb6716ceb21d219/probeshrink.png)
|
|
|
|
|
|
* Specular Highlights From Point Lights
|
|
|
When you bake lighting for a scene from point/spot lights, you'll often find that the result doesn't have the same specular highlights that it did with real-time lighting. This is because point lights don't have a physical presence in the environment rendered by reflection probes, and if there's no bright object where your point lights are, there'll be no shiny highlight to match it.
|
|
|
### Specular Highlights From Point Lights with SpecularProbes
|
|
|
[**Download SpecularProbes here.**](https://github.com/zulubo/SpecularProbes)
|
|
|
|
|
|
When you bake lighting for a scene from point/spot lights, you'll often find that the result doesn't have the same specular highlights that it did with real-time lighting.
|
|
|
|
|
|
![An example of such a scene.](https://github.com/zulubo/SpecularProbes/raw/master/images/scene_nospecular.PNG)
|
|
|
|
|
|
This is because point lights don't have a physical presence in the environment rendered by reflection probes, and if there's no bright object where your point lights are, there'll be no shiny highlight to match it.
|
|
|
|
|
|
You can use this Unity tool to automatically add a glowing ball to each of your point lights, which will create a shiny highlight in your reflection probes.
|
|
|
https://github.com/zulubo/SpecularProbes |
|
|
\ No newline at end of file |
|
|
|
|
|
![An example of such a scene.](https://github.com/zulubo/SpecularProbes/raw/master/images/scene_npecular.PNG) |