Jump to content

Search the Community

Showing results for tags 'functionality'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • HTML5 Game Coding
    • News
    • Game Showcase
    • Facebook Instant Games
    • Web Gaming Standards
    • Coding and Game Design
    • Paid Promotion (Buy Banner)
  • Frameworks
    • Pixi.js
    • Phaser 3
    • Phaser 2
    • Babylon.js
    • Panda 2
    • melonJS
    • Haxe JS
    • Kiwi.js
  • General
    • General Talk
    • GameMonetize
  • Business
    • Collaborations (un-paid)
    • Jobs (Hiring and Freelance)
    • Services Offered
    • Marketplace (Sell Apps, Websites, Games)

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Twitter


Skype


Location


Interests

Found 1 result

  1. I've been experimenting with the ability to use the opacityTexture with materials. And I have a couple of questions. First, what is the functionality of the opacityTexture in BJS. In the PG demo of fire, it appears to be acting as an alpha map that gives a general shape of the flame. Candle stick However, when I try to use the same flame and alpha map on a simple plane in a playground - I just get the square image of fire Simple plane Why? Does the use of .opacityTextures require the fireMaterial script? If it does, that is not indicated in the docs. Secondly, I tried using the same two textures in Blender - see result below. A simple plane has one material with two textures - flame and opacity.- and as you can see both have an impact on what is rendered. However, when I export the plane to .babylon I get this curious comment: Looking at the .babylon file the material only contains the flame texture - no reference at all to the opacity texture used. What does that mean? And how do I export these alpha map textures from Blender ? Edit: I have the opacity texture exporting now by changing the value of the "alpha" in image below to 1. But I still get the warning message and the result viewed in the sandbox is just the square plane with the flame texture cheers, gryff
×
×
  • Create New...