primesoftware Posted August 1, 2016 Share Posted August 1, 2016 Hello all, I was just curious how you guys about making a metal effect material in BJS. I see both the V8 and heart demo seems to have such an effect. I've looked at the Heart.babylon file, but its a biiiiiiiiig mess and I'm not sure what I'm looking for / at in there. I'd prefer not go PBR since I'd like to (if possible) run on mobile. I really just want a shiny bright metal look. Any ideas? Quote Link to comment Share on other sites More sharing options...
jellix Posted August 1, 2016 Share Posted August 1, 2016 hi, much of the metal-looking material depends on the reflectionTexture. So if you use a CubeTexture for a skymap that shows a blurry environment, then you have your metal-look. Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted August 1, 2016 Share Posted August 1, 2016 Jellix is right. Metallic effect comes from reflection. Did you check the PBR material as well: http://www.babylonjs-playground.com/?28 Quote Link to comment Share on other sites More sharing options...
primesoftware Posted August 1, 2016 Author Share Posted August 1, 2016 @Deltakosh I'm trying to avoid PBR since it either doesn't work or works slowly on my Android. @jellix Thanks for the tip! I'll look into reflection maps. What about the glossy / shiny effect? Is that a specular parameter or also reflection? Quote Link to comment Share on other sites More sharing options...
jellix Posted August 1, 2016 Share Posted August 1, 2016 A 'plastic' look is only possible with a reflection map with sharp lines. The specularPower of a material can be set to a high value (e.g. 500) to get the specular a small and shiny dot. A combination of a sharp reflection map with a nice specular can give some great surfaces like metallic car optics. Tomorrow I could upload two selfmade Skymaps, one in blurry, one in sharp. Or can you build up your own skymap textures? Quote Link to comment Share on other sites More sharing options...
primesoftware Posted August 1, 2016 Author Share Posted August 1, 2016 1 minute ago, jellix said: A 'plastic' look is only possible with a reflection map with sharp lines. The specularPower of a material can be set to a high value (e.g. 500) to get the specular a small and shiny dot. A combination of a sharp reflection map with a nice specular can give some great surfaces like metallic car optics. Tomorrow I could upload two selfmade Skymaps, one in blurry, one in sharp. Or can you build up your own skymap textures? The environment is actually a room with a white ceiling, blue wall, and a wood textured floor. I've only browsed skymap texturing though I would like to read more about it. 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.