Is Material function call LocalPosition supported for HTML5 packaging?
LocalPosition in materials is a function that returns the local coordinates of the object's surface being textured/rendered. However when I try to package the project for HTML5, I get: - LogShaderCompilers:Warning: Failed to compile blabla.mat for platform GLSL_ES2_WEBGL, Default Material will be used in game.
I got a sense that LocalPosition might not be supported for HTML5, can someone confirm that if this is a true limitation of the WebGL platform or did I do something wrong during constructing the material blueprint?
I really appreciate your patience while testing this issue, as I know I asked you to test the same thing multiple times. I was unable to determine whether this was expected or not, so I went ahead and entered a bug report for the issue (UE-28770).
With that being said, once the developers and engineers determine if the issue is in fact a bug, they will begin getting a fix in place. When the fix has been implemented, either myself or another team member will return here with the update.
Let me know if you have further questions.
answered Mar 25 '16 at 02:46 PM
I was finally able to get the material warning to appear in the version you mentioned by using the Shipping configuration, which I am assuming you were using as well?
However, I tested this issue in the 4.11 preview 8 release and it did not appear in that version. Would you mind testing to confirm this is true on your end?
answered Mar 23 '16 at 06:59 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here