Hi guys I followed this tutorial:
https://www.youtube.com/watch?v=NAJhppttJgI and I want to add distance scaling on all the textures using pixel depth fade. I have this mask
When I put the clamp output in a lerp to go between the small uv and large uv scale texture it gives this error.
it says that the pixel depth is invalid used in hull/domain shader input.
Can some please explain how to fix this?
Replies
You can recreate the functionality of that node using the following math:
distance(world position, camera position);
This works with hull/domain shader too.