iiceman Posted November 10, 2015 Share Posted November 10, 2015 Stupid me, just copied from Luaacro and thought I could get something cool to play around with :-" ... but I better wait for the doc now Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 10, 2015 Share Posted November 10, 2015 The temporary doc file is here: https://github.com/BabylonJS/Babylon.js/tree/master/materialsLibrary/materials/lava I can't pull the doc repo AND download fallout 4, so when my download is finished, I push the doc at the right place Edit : Ho, and your example make me think to customize the frequency of the lava waves... It's too damn high for such a little plane Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 10, 2015 Share Posted November 10, 2015 what about providing default texture in the pg as well? (I can copy them) Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 11, 2015 Share Posted November 11, 2015 Guys, Fallout 4 is awesome!! But you know what's awesome too? Documentation on lava material and normal material!! @DK: lava default textures can be found here: https://github.com/BabylonJS/Babylon.js/tree/master/materialsLibrary/test/textures/lava Dad72 and Wingnut 2 Quote Link to comment Share on other sites More sharing options...
Dad72 Posted November 11, 2015 Share Posted November 11, 2015 I find that the animation of the lava is very very fast. It should slow it down for the demo. Lava flowing is always very slow for realism. lavaMaterial.speed = 0.3; http://www.babylonjs-playground.com/#1BLVWO But I love this lava. Quote Link to comment Share on other sites More sharing options...
jerome Posted November 11, 2015 Share Posted November 11, 2015 @Temechon : really nice work and nice docyou didn't say where we can find the normal material like you did for the lava one. Is it embedded in the core or only in the material library ? Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 11, 2015 Share Posted November 11, 2015 I forgot it :/ But it's only in the material library ! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted November 11, 2015 Share Posted November 11, 2015 Awesome! Please send more materials I love it! Quote Link to comment Share on other sites More sharing options...
JohnK Posted November 25, 2015 Share Posted November 25, 2015 Time to show my ignorance once again. Please do not underestimate my ignorance (or laziness) when writing instructions. Following the How to create a material For the materials library tutorial I have worked out that to create a new folder I needed to have forked the Babylonjs project. OK done that and copied and edited the simple folder and edited the three files ( haven't really done this but I think I can follow this bit OK for my shader given time) and then came across the instruction To compile your files, just run gulp(). From what I have read before I presume this is done in nodejs and there is a npm install involved???? Then there is gulp webserver is this the phrase you type or do you have to replace webserver with some webserver that nodejs uses???? Any help for a nodejs and gulp ignoramus greatly appreciated. Quote Link to comment Share on other sites More sharing options...
Temechon Posted November 25, 2015 Share Posted November 25, 2015 I suppose you have git and node.js installed on your computer. If not, start by downloading it (git and nodejs)All following lines starting with $> should be done in a terminal (I strongly recommend cmder for windows). - Fork the babylon repo with your github account- $> cd myForkOfBabylonjs/materialsLibrary- Install all dependencies needed to compile to material library : - $> npm install - Install globally Gulp to compile and test your new material : - $> npm install -g gulp - create your folder furMaterial- Follow the tutorial in the doc (Copy-paste simpleMaterial...)- Compile your new material : - $> gulp- Test it ! - $> gulp webserver Don't hesitate to ask again if needed JohnK 1 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.