-
-
Notifications
You must be signed in to change notification settings - Fork 982
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get metalness to work #2982
Comments
did you see the parameter mapping of specular here: https://ogrecave.github.io/ogre/api/latest/rtss.html#autotoc_md255 ? as you set roughness=1.0, your material should be just slightly darker compared to blinn phong. Also verify that the RTSS is active for your viewport (in case you are on D3D9 or GL1) |
|
your specular[0] and specular[1] values, which are both 1.0 as you posted above
you should a snippet like this in your code: ogre/Samples/Simple/include/PBR.h Lines 42 to 43 in 2b1864e
gmail just does not work. we are aware of this #2924 |
Unfotunately it still doesn't work :( Should I be looking out for something else? |
does it work if you modify one of the materials used in the PBR sample that is referenced above? |
So it works for me now.
I was doing this so that I can set the metallic properties for all electrodes in my scene, but set the diffuse properties per electrode type. So I create a clone and set diffuse properties for the cloned material. Somehow this doesn't work to set metal properties of the material. If I do this, however,
so not use a clone, but the original material, it works. Do you know why? |
you must explicitly clone the RTSS parts, see: ogre/Tests/VisualTests/PlayPen/src/PlayPenTests.cpp Lines 6977 to 6981 in 4acf489
|
I have the following material
I know that the material gets loaded properly as the diffuse property works. However I can't see any change in appearance with the metal roughness properties.
I have a directional light in the scene created by the following code:
The text was updated successfully, but these errors were encountered: