Search the Community
Showing results for tags 'material library'.
Hello everyone, I've encountered a situation where I need to mix two normal maps for my PBR material. One map is the main texture while the second one is tiled detail texture. Much like Unity does with its standard material. What would be the best way to extend the functionality of the current PBR material (https://doc.babylonjs.com/classes/3.0/pbrmetallicroughnessmaterial or at least its PBRBaseSimpleMaterial parent). Amending shader itself and passing a second texture sampler is not a problem for me. I understand I should utilize material library and compile a new material. But should I use existing custom standard material as a basis or there are better ways of doing it? I would love to keep entire PBR shader code in local .fx files instead of replacing custom parts though. I bet many artists working with BJS have encountered similar issue where they'd need to tweak existing material and meddle with the shader code but the process of creating anything custom isn't that clear or intuitive. Any tips would be very helpful! Many thanks in advance. PS readme file for custom standard mat states that it would only work with BJS 3.0.0 and I'm using the latest stable one.
Hi guys, A new challenge for cold November. better late than never! This month's challenge is meant to celebrate Babylon's new material library. A wonderful edition to the framework, which you ALL should know by now :-) If you don't - https://github.com/BabylonJS/Babylon.js/tree/master/materialsLibrary November's challenge is simple - we create shaders. Better yet, we create new materials. I cannot promise they will be integrated in the library, but if they are good, they probably will!! For those who are afraid of shaders (AHH!!!!!!!!!!) - fear no more! Or do, but it won't help you... There are many ways of learning them, I found this one to be wonderful - https://www.npmjs.com/package/shader-school To see what's possible with shaders, try this website - https://www.shadertoy.com/ . They are truly a wonderful toy. The challenge's rules: Shader must be original!Shader must be used as a library (thus forcing your poor souls to actually use the material library). If anyone need help with that, write here!Must be more than 2D image manipulation. It must have a 3D effect.(late edition) must be cross platform, including mobile!That's it.Party on! Once again, honor, glory, and beer to the winner !