Render to target from a specific object?
I'm trying to use a render target to get some world normals out of a material. I'm using PixelNormalWS to do that. My goal is to render the material from a specific static mesh to a render target, but all I've been able to do so far is render a general material to a render target. Below is shown what I have: The sphere has a material with PixelNormalWS as its base color. The cube has a material with a render target in it. The render target is rendering from the material on the sphere. However, it seems to be rendering the material without regard to the fact that its on a sphere. It is blue because it has no geometry to get PixelNormalWS from. My problem is that I want to somehow use this geometry-specific material to render to a target.
asked Apr 01 '18 at 10:31 PM in Rendering
Follow this question
Once you sign in you will be able to subscribe for any updates here