SO im my scene I have this plant. It is using a png for the leaf material. If I drag this model into the sandbox it renders properly , although I do need to change from blended to alpha test for sorting , but that is not the issue :
i tried all sorts of settings in the sandbox to replicate this and I cant get it to display like in my scene , so I cant work backwards from there and figure out where it is coming from.
i checked the console logs of the material, alphaMode is 2 (combine ), useAlphaFromAlbedoTexture is true , changed the transparencyMode to 2 ( alpha test ) , still no luck
Maybe try dumping all the properties of the Leaf2 material in your setup vs. the sandbox? Maybe also use spector.js to make sure the webgl state is correct. If you are using alpha test, it should be discarding all the pixels.
is there a means to display the inspector in any babylon scene? if you clue me up and I can save everyone much effort by going through the values and looking for differences first.
Thanks for that , i did have to play around with some css to get the inspectors front and functional , just so you know ,
Anyway I found the culprit … SSAO 2! Here is a screen shot showing the strength set to 0 via the inspector and no issues , then the strength set to max , to show the bug.
SOrry to be such a github noob but im not really sure how to get hold of your fix. Currently I need the code to be offline for an dual web/electron app so I dont use a CDN script fetch , im referencing local babylon js files. SO I obviously need to have those files have this fix in them