Hersir Posted July 20, 2017 Share Posted July 20, 2017 Hi, started to learn GLSL and shader, so decided to port some shader to babylon Source: Original webgl shader from three.js Babylon.js version: PG Right now it is just direct port but maybe someone can help me to merge it better with babylonjs ecosystem. (Right now dont work in mac safari, will check why) hotfeet 1 Quote Link to comment Share on other sites More sharing options...
Hersir Posted July 20, 2017 Author Share Posted July 20, 2017 Fixed safari New PG meteoritool and jerome 2 Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted July 20, 2017 Share Posted July 20, 2017 This is REALLY cool. If you want to share materials at some point in time, you could contribute to the materials library: https://github.com/BabylonJS/Babylon.js/tree/master/materialsLibrary Quote Link to comment Share on other sites More sharing options...
Hersir Posted July 21, 2017 Author Share Posted July 21, 2017 @Deltakosh Definetlly but now, would be nice if someone could help me with shader code, as I am not very experienced with it. Probably some stuff that is used there could be copied from PBR material, for example reflection, normal maps. Also some optimisation could be done. 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.