DylanD

Members
  • Content count

    260
  • Joined

  • Last visited

About DylanD

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. DylanD

    Debug Layer Wont Open

    cool, thanks
  2. DylanD

    Debug Layer Wont Open

    Yes there is, I hadn't noticed it sorry. this is the error: Helpers.ts:144 Uncaught TypeError: Cannot read property 'firstChild' of undefined at Function.e.CleanDiv (Helpers.ts:144) at e.refresh (Inspector.ts:338) at new e (Inspector.ts:228) at t._createInspector (babylon.js:30) at HTMLScriptElement.n.onload (babylon.js:4)
  3. DylanD

    Debug Layer Wont Open

    yea that was working for a while but I believe when I switch the 3.3.0-alpha.13 it stopped working il test it some more today. I have so far tested safari and chrome, neither worked. Il update if anything changes.
  4. DylanD

    Clone Custom Material

    This is a good idea. But the material I need was actually just the diffuseTexture (mine specifically uses a texture from a server, so less load time I think) of that custom material so I had done clone just because I know it is slightly better to clone than to make a whole new one, so I just ended up cloning before editing the .Fragment_Before_FragColor which lets it work.
  5. He everyone, I'm trying to debug my scene but I can't open the debug layer. I am using Babylonjs 3.3.0-aplha.13 code: scene.debugLayer.show({popup:true}); gives this error The error I get is Please update your browser to open the js inspector in an external view. I am using google chrome but it is up to date, I get the same error in safari which is also up to date. When I switch to scene.debugLayer.show(); It opens but does not show anything except the black layout. Any ideas what I can do to get the debug layer working?
  6. DylanD

    Clone Custom Material

    Thanks, this isn't immodestly impacting my progress so no rush, just curious
  7. Hello everyone I was wondering Is it intended that cloning a custom material makes a standard material? As in customMaterial.clone(){ return standardMaterial; } because in typescript that is what I get. Or is this a mix up
  8. Hey Pryme8 this worked perfectly! Thank you!
  9. im going to put this on the back burner for a while. If I figure it out il let everyone know.
  10. I would like to make a much more accurate playground but I have a complicated scene and many scripts. The texture doesn't really have any red in it at all only blue and green, so it won't show red? Not sure I understood that right. So since it is multiplicative theres no way to get any red? Is there a way I could do it using additive? Would diffuseColor also work using multiplication?
  11. In my scene it seems that all of my lights have 1,1,1 so white light which should include blue red and green, but I can't get red to show, also I tried emissive color and it didn't seem to make change the texture at all. Thank you though, now I know what to look for.
  12. Hello everyone, I have a problem, I have a standard material with a texture, and I want to use diffuseColor to make it look purple, it normally is blue, so I try adding red, but that doesn't seem to do anything. I found a similar problem in the playground, where I can turn the one ball red but the other ball will not turn blue. I don't understand why this happens. http://www.babylonjs-playground.com/#20OAV9#218 is there a way around this? Is this normal? Any ideas?
  13. DylanD

    Sprite Sheets that are not Uniform

    Thanks! I will look into it!
  14. DylanD

    Sprite Sheets that are not Uniform

    oh. A .png.meta file wouldn't have this information would it?
  15. DylanD

    Sprite Sheets that are not Uniform

    yes this is what I meant. How could I do a json mapping ? I have tried this but its all manual... Thanks for the response though.