Jump to content

Highlighter


hunts
 Share

Recommended Posts

Hy gangs:) i've some issue with the highlighter here

 var ground = BABYLON.Mesh.CreateGround("ground1", 12, 12, 2, scene);
 var materialField = new BABYLON.StandardMaterial("texture3", scene);
    materialField.diffuseTexture = new BABYLON.Texture("https://raw.githubusercontent.com/eddicke/new/master/pictures-football-pitch-soccers-field-measurements-clip-art-vector-FaIiKI-clipart.jpg", scene);
ground.material = materialField
ground.position.x = 3
var hl = new BABYLON.HighlightLayer("hl", scene, {mainTextureFixedSize:512, blurHorizontalSize:1.5, blurVerticalSize: 1.5});
    hl.addMesh(ground, BABYLON.Color3.Red());

It seems not to work:( 

http://www.babylonjs-playground.com/#H3NYAW#16

Link to comment
Share on other sites

Hi again, hunts... I see you are working hard.  Beautiful scene... nicely done.

Are you seeing some errors on the console?

Error: Error status: 404 - Unable to load /src/Shaders/glowMapMerge.vertex.fx
Error: Error status: 404 - Unable to load /src/Shaders/glowBlurPostProcess.fragment.fx
Error: Error status: 404 - Unable to load /src/Shaders/glowMapGeneration.vertex.fx

???

I am.  :)  https://github.com/BabylonJS/Babylon.js/tree/master/src/Shaders

They seem to "be there", but... something is amiss.  :)  We'll pingulate Admiral @Deltakosh and/or Professor @Temechon and other core Gods.  They'll get this fixed soon, I know they will.  Sorry for the inconvenience... and thanks for the report.

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...