Jump to content
joshyclouds

Mantra environment light texture resolution

Recommended Posts

I've noticed in mantra when I'm using a shader that has a very low roughness the reflections of my environment light HDRI are blurred/low resolution compared to the actual image. Is there a way to increase the resolution that my HDRI is being sampled at in reflections?

I've made a test scene here with a grey + chrome ball, and a perfectly reflective ground plane to show the issue. Thanks!

environmentlight.png

envlight.hiplc

Share this post


Link to post
Share on other sites

not sure what I should be looking at at the picture. chrome balls look fine to me. is it the ground rendering wrong? personally I haven't noticed any issue of this kind sharp reflection always gives me sharp reflection... what kind of shader are you using? can you post a scene?

Share this post


Link to post
Share on other sites

The shaderballs were to show that the reflection is sharp on that ground plane. If you look at the reflection of the HDRI in the ground and compare it to the HDRI behind the shaderballs it looks like it's a lower resolution in the reflection. There's a scene attached to my first post with the setup, the ground shader is a PBR reflection shader set to phong just to get sharp reflections. Cheers

Share this post


Link to post
Share on other sites

hmm, it certainly doesn't render right and there seem to be no way to fix it. haven't noticed it ever before to be honest (not even sure if it's always been like this). you should ask sidefx. I would consider it a bug. cheers.

btw. in chrome ball reflections, i guess you're getting the same error, you just can't see it for the environment is rendered in much smaller area and the pixel coverage is much higher.

Edited by davpe
  • Thanks 1

Share this post


Link to post
Share on other sites

Thanks for having a look, I'll send sidefx a message. Yeah I hadn't seen it before but I was working on a shot where I wanted to see some reflections in a window last week and thats when I noticed it.

I'll reply here if I find an answer.

Share this post


Link to post
Share on other sites

I've encountered this as well. Turns out, there is a HIDDEN mantra parameter, that controls resolution of environment maps! Why hide such important parameter is beyond my understanding.

uc?id=1RKBew6NJ33ieqr9ct8By83Mf0n53tdQp

Edited by lamer3d
  • Like 2
  • Thanks 1

Share this post


Link to post
Share on other sites

good shot lamer3d!

in this respect (not only) , Mantra should really undergo some maintenance as that's not the only case where a vital function is not exposed by default.

cheers.

Share this post


Link to post
Share on other sites

Totally agree with the fact that this should not be hidden.  Maybe the parameter should be controllable per envlight as well.

Share this post


Link to post
Share on other sites

Cheers lamer3d, thats perfect. Yeah I agree that it shouldn't be hidden by default, personally I'd prefer to set a specific resolution too.

br1 I'm just having a look and you can set it per envlight I think, just add the attribute to the light not the mantra rop.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×