Jump to content

Search the Community

Showing results for tags 'human skin'.

  • 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 have been having a problem showing materials in a scene, where some are shiny & some not. Usually, you might not notice everything being a little shiny, by default BJS scenes are a little shiny, but my material is human skin. It is very important it not look too shiny. It will look like a doll that was just in the bath tub. People will pick up on that immediately. It seems that there are many different angles to handle specular. One way is to turn it off at the light source. Skin looks good, but nothing else in the scene will. I also do not want to resort to special lights for skin using layer masks. The default specular of a light is 1,1,1. Let's stick with that for now. Here is what my character looks like: The eyes & teeth look ok. The shirt is actually shiny, just not in the part showing. Here is the code generated that make the skin material: material = new BABYLON.StandardMaterial("VoiceSync.Clothed_ponytail:Female1605:Young_caucasian_female", scene);material.ambientColor = new BABYLON.Color3(0.302,0.302,0.302);material.diffuseColor = new BABYLON.Color3(1,1,1);material.emissiveColor = new BABYLON.Color3(0,0,0);material.specularPower = 256;material.alpha = 1;material.backFaceCulling = true;material.checkReadyOnlyOnce = true;texture = new BABYLON.Texture(materialsRootDir + "young_lightskinned_female_diffuse.png", scene);texture.hasAlpha = true;texture.level = 1;texture.coordinatesIndex = 0;texture.coordinatesMode = 0;texture.uOffset = 0;texture.vOffset = 0;texture.uScale = 1;texture.vScale = 1;texture.uAng = 0;texture.vAng = 0;texture.wAng = 0;texture.wrapU = 1;texture.wrapV = 1;material.diffuseTexture = texture;If I control it by turning off specular at the light, I like the skin, but everything else looks dead, see eyes. I played with some of the source above by hand, but things like setting specularPower to 0, just turned the skin bright white. I am hoping this is just an education problem on my part. Is there something that can be done?
×
×
  • Create New...