asnowcappedromance Posted February 7, 2018 Share Posted February 7, 2018 Hey guys, I'm trying to render points as volumes using the uniform volume shader with specularity/reflection. I calculated a gradient attribute on my points (to emulate normals) and plugged that into my shader, but I'm having no success as all. The same technique works if I convert my points to a volume and then use a gradient vector field, however I'd like to get it to work without having to convert my points into a volume. Attached a screenshot of my current shader and also a hip file. Any ideas how to get that to work? Thanks, Manu uniform_volume_spec_test.hiplc Quote Link to comment Share on other sites More sharing options...
asnowcappedromance Posted February 12, 2018 Author Share Posted February 12, 2018 woooow 5 days and not a single reply, what's up Odforce? Turns out all I had to do was to transform the point gradient attribute from world to camera space and use the PBR Metallic instead of the PBR reflect. Works really well. Would love to know what's wrong with the PBR Reflect though, why isn't that working as expected? It does if I'm using volumes and a vector3 gradient field ... Thanks to Andrea Sbabo for the tip to use PBR metallic! 3 Quote Link to comment Share on other sites More sharing options...
Ultraman Posted November 21, 2021 Share Posted November 21, 2021 On 2/12/2018 at 11:36 PM, asnowcappedromance said: woooow 5 days and not a single reply, what's up Odforce? Turns out all I had to do was to transform the point gradient attribute from world to camera space and use the PBR Metallic instead of the PBR reflect. Works really well. Would love to know what's wrong with the PBR Reflect though, why isn't that working as expected? It does if I'm using volumes and a vector3 gradient field ... Thanks to Andrea Sbabo for the tip to use PBR metallic! hey Manuel - can share a simple hip file plz or explain a little more? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.