- ios版本的微信小游戏加载babylonjs的shader报错
经过测试,android版本运行正常,模拟器正常,ios版本的微信小游戏加载babylonjs的shader报错 BJS - [11:27:46]: Unable to compile effect: BJS - [11:27:46]: Uniforms: world, view, viewProjection, vEyePosition, vLightsType, vAmbientColor, vDiffuseColor, vSpecularColor, vEmissiveColor, vFogInfos, vFogColor, pointSize, vDiffuseInfos, vAmbientInfos, vOpacityInfos, vReflectionInfos, vEmissiveInfos, vSpecularInfos, vBumpInfos, vLightmapInfos, vRefractionInfos, mBones, vClipPlane, diffuseMatrix, ambientMatrix, opacityMatrix, reflectionMatrix, emissiveMatrix, specularMatrix, bumpMatrix, normalMatrix, lightmapMatrix, refractionMatrix, diffuseLeftColor, diffuseRightColor, opacityParts, reflectionLeftColor, reflectionRightColor, emissiveLeftColor, emissiveRightColor, refractionLeftColor, refractionRightColor, vReflectionPosition, vReflectionSize, logarithmicDepthConstant, vTangentSpaceParams, alphaCutOff, vLightData0, vLightDiffuse0, vLightSpecular0, vLightDirection0, vLightGround0, lightMatrix0, shadowsInfo0, depthValues0, diffuseSampler, ambientSampler, opacitySampler, reflectionCubeSampler, reflection2DSampler, emissiveSampler, specularSampler, bumpSampler, lightmapSampler, refractionCubeSampler, refraction2DSampler, shadowSampler0, depthSampler0
2018-05-07 - 公众号分享总是分享如何分享非入口地址
如题,因为要使用自定义菜单功能没有绑定服务器,但是又需要分享功能。 在不适用js-sdk的情况下,用微信自带的分享功能分享当前页面,分享出去的页面总是自定义菜单按钮上填写的地址,如何才能分享当前显示页面的地址。 自己测试过用微信打开页面用window.location.href=window.location.href可以刷新地址,分享出当前显示页面。 框架用的是vue.js
2018-04-02