Quantcast
Channel: Bugs Latest Topics
Viewing all articles
Browse latest Browse all 760

HighlightLayer two problemes

$
0
0

Hello,

I just noticed two bug HighlightLayer.

error 1) The first is when you use a emissiveColor on Import object. (On the playground, if I put in the comment line emissiveColor, it works, but else it does not work)

http://www.babylonjs-playground.com/#1W1UYU

error 2) The second mistake I fail to reproduce, I do not know what is this. This is when I add a HighlightLayer an object import : error getTextureMatrix . it is the scene.render () which crach and I get it in the console:

Uncaught TypeError: Cannot read property 'getTextureMatrix' of null
    at s (babylon.js:25)
    at _mainTexture.customRenderFunction (babylon.js:25)
    at t.render (babylon.js:11)
    at t.render (babylon.js:11)
    at i.renderToTarget (babylon.js:16)
    at i.render (babylon.js:15)
    at i._renderForCamera (babylon.js:12)
    at i._processSubCameras (babylon.js:12)
    at i.render (babylon.js:13)

For further information, I employs 2 cameras (multiview) and if Highlight.isEnabled = false; No error. but if Highlight.isEnabled = true; error getTextureMatrix.


Viewing all articles
Browse latest Browse all 760

Trending Articles