{"action":"opened","issue":{"url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/5351","repository_url":"https://api.github.com/repos/BabylonJS/Babylon.js","labels_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/5351/labels{/name}","comments_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/5351/comments","events_url":"https://api.github.com/repos/BabylonJS/Babylon.js/issues/5351/events","html_url":"https://github.com/BabylonJS/Babylon.js/issues/5351","id":369152282,"node_id":"MDU6SXNzdWUzNjkxNTIyODI=","number":5351,"title":"DynamicTexture having problems in Chrome","user":{"login":"rcz0001","id":8948253,"node_id":"MDQ6VXNlcjg5NDgyNTM=","avatar_url":"https://avatars3.githubusercontent.com/u/8948253?v=4","gravatar_id":"","url":"https://api.github.com/users/rcz0001","html_url":"https://github.com/rcz0001","followers_url":"https://api.github.com/users/rcz0001/followers","following_url":"https://api.github.com/users/rcz0001/following{/other_user}","gists_url":"https://api.github.com/users/rcz0001/gists{/gist_id}","starred_url":"https://api.github.com/users/rcz0001/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rcz0001/subscriptions","organizations_url":"https://api.github.com/users/rcz0001/orgs","repos_url":"https://api.github.com/users/rcz0001/repos","events_url":"https://api.github.com/users/rcz0001/events{/privacy}","received_events_url":"https://api.github.com/users/rcz0001/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-11T14:35:43Z","updated_at":"2018-10-11T14:35:43Z","closed_at":null,"author_association":"NONE","body":"Large DynamicTexture objects (200 million pixels or greater in size) will not render in the newest version of Google Chrome (69.0), but work fine in Microsoft Edge and Firefox, as well as previous versions of Chrome. \r\n\r\n`\r\nvar createScene = function () {\r\n\r\n    // This creates a basic Babylon Scene object (non-mesh)\r\n    var scene = new BABYLON.Scene(engine);\r\n\r\n    // This creates and positions a free camera (non-mesh)\r\n    var camera = new BABYLON.FreeCamera(\"camera1\", new BABYLON.Vector3(0, 5, -10), scene);\r\n\r\n    // This targets the camera to scene origin\r\n    camera.setTarget(BABYLON.Vector3.Zero());\r\n\r\n    // This attaches the camera to the canvas\r\n    camera.attachControl(canvas, true);\r\n\r\n    // This creates a light, aiming 0,1,0 - to the sky (non-mesh)\r\n    var light = new BABYLON.HemisphericLight(\"light1\", new BABYLON.Vector3(0, 1, 0), scene);\r\n\r\n    // Default intensity is 1. Let's dim the light a small amount\r\n    light.intensity = 0.7;\r\n\r\n\r\n    // Our built-in 'ground' shape. Params: name, width, depth, subdivs, scene\r\n    var ground = BABYLON.Mesh.CreateGround(\"ground1\", 6, 6, 2, scene);\r\n    var groundMat = new BABYLON.StandardMaterial(\"mat\", scene);\r\n    var groundTex = new BABYLON.DynamicTexture(\"tex\", {width: 7000, height: 7000}, scene);\r\n    ground.material = groundMat;\r\n    groundMat.diffuseTexture = groundTex;\r\n    var ctx = groundTex.getContext();\r\n    ctx.fillStyle = \"blue\";\r\n    ctx.fillRect(0, 0, 7000, 7000);\r\n    groundTex.update();\r\n\r\n    return scene;\r\n\r\n};\r\n`\r\nWhen the code above is run in Edge or Firefox, it shows a blue plane, but on Chrome 69.0, the plane is black (meaning that the DynamicTexture object failed to load)."}}
{"actor":{"display_login":"rcz0001"}}