“hujiajun” 20dd312cf9 增加新的功能 9 mēneši atpakaļ
..
Materials 30f139dfcf 适配每个设备(头上3个点,Immersol识别) 1 gadu atpakaļ
PointCloudMeshes 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
ScenesPrefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Template 064ab9b077 添加热更新 9 mēneši atpakaļ
Texture 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Warning 20dd312cf9 增加新的功能 9 mēneši atpakaļ
movie_ani 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
ARCamera.prefab fc2ba6de54 Merge branch 'master' of https://gogs.ghz-tech.com:8843/GHzGlass/GHZMRNavigatorProXR into F/0710_2.1+2.0 1 gadu atpakaļ
ARCamera.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Anchor.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Anchor.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Crystal.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Crystal.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Dir_0.png 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_0.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_1.png 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_1.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_2.png 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_2.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_3.png 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_3.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_4.png 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_4.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_5.png 064ab9b077 添加热更新 9 mēneši atpakaļ
Dir_5.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
DirectionItem.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
DirectionItem.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
EditorCanvas.prefab a1a19281a1 修改加载AB包模型时进行筛选,符合条件加载Resource内模型 1 gadu atpakaļ
EditorCanvas.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
EditorPanel.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
EditorPanel.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
GONGYE3.jpg a19a2b4727 提交锚点UI以及代码 1 gadu atpakaļ
GONGYE3.jpg.meta a19a2b4727 提交锚点UI以及代码 1 gadu atpakaļ
GameManager.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
GameManager.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Image.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Image.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
LoadingPanel.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
LoadingPanel.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
LoginPanel.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
LoginPanel.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
MRNavigatorStart.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
MRNavigatorStart.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
MRVideo.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
MRVideo.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
MRzhanting.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
MRzhanting.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Materials.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
MinMapCanvas.prefab b2680d1304 修改基础版选择场景样式 小地图 路线和点的渲染层级 11 mēneši atpakaļ
MinMapCanvas.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Model.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Model.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Move.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Move.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Navigator_PhoneIcon.png 1532760ae8 增加手机版应用图标,隐藏播放器的滑动条 1 gadu atpakaļ
Navigator_PhoneIcon.png.meta 1532760ae8 增加手机版应用图标,隐藏播放器的滑动条 1 gadu atpakaļ
Player.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Player.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
PointCloudMeshes.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
README.txt a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
README.txt.meta a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
RouteItem.prefab 073a92085e 新增断线重连 1 gadu atpakaļ
RouteItem.prefab.meta 073a92085e 新增断线重连 1 gadu atpakaļ
SNAndVersion.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
SNAndVersion.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
SceneChoose.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
SceneChoose.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
SceneChoose2.prefab 6e00ef5b65 增加退出场景功能 9 mēneši atpakaļ
SceneChoose2.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
SceneRoot.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
SceneRoot.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
ScenesPrefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
SetBtn.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
SetBtn.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
SettingCanvas.prefab 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
SettingCanvas.prefab.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Standard (Specular setup).mat a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
Standard (Specular setup).mat.meta a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
Standard (Specular setup).shadervariants a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
Standard (Specular setup).shadervariants.meta a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
Template.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Text.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Text.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Texture.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Tip.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Tip.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
TipJD.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
TipJD.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
UI 1.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Video 1.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Video 1.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
Video.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
Video.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
VideoAndImageItem.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
VideoAndImageItem.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
VideoTexture.renderTexture 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
VideoTexture.renderTexture.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
VuforiaConfiguration.asset a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
VuforiaConfiguration.asset.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
Warning.meta 0dce58040e 修改不点击场景提示窗口 1 gadu atpakaļ
d31349af8de6481fdad96ff957c4ba64.mp4 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
d31349af8de6481fdad96ff957c4ba64.mp4.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
emqxsl-ca.txt a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
emqxsl-ca.txt.meta a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
green.png a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
green.png.meta a91719b9a4 Merge branch 'master' of ssh://gogs.ghz-tech.com:30979/GHzGlass/GHZMRNavigatorProXR 10 mēneši atpakaļ
if-logout@3x.png caf62f563f 修复 一些bug 9 mēneši atpakaļ
if-logout@3x.png.meta caf62f563f 修复 一些bug 9 mēneši atpakaļ
movie_ani.meta 13198adc0e 根据f/0531_nreal_navigator 版本移植过来 1 gadu atpakaļ
touxiang.png c852689889 修改加載圖片的邏輯 1 gadu atpakaļ
touxiang.png.meta c852689889 修改加載圖片的邏輯 1 gadu atpakaļ
yangshi1.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi1.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi2.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi2.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi3.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi3.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi4.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi4.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi5.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi5.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi6.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi6.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi7.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi7.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi8.prefab 064ab9b077 添加热更新 9 mēneši atpakaļ
yangshi8.prefab.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
文本框1.png 064ab9b077 添加热更新 9 mēneši atpakaļ
文本框1.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
文本框2.png 064ab9b077 添加热更新 9 mēneši atpakaļ
文本框2.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ
文本框3.png 064ab9b077 添加热更新 9 mēneši atpakaļ
文本框3.png.meta 064ab9b077 添加热更新 9 mēneši atpakaļ

README.txt

Notes on Standard (Specular setup).mat and Standard (Specular setup).shadervariants
-----------------------------------------------------------------------------------

The Unity Standard and Standard (Specular setup) shaders have some extra requirements if you want to modify Materials at runtime, because - behind the scenes - it is actually many different shaders rolled into one. If you use scripting to change a Material that would cause it to use a different variant of the Standard Shader, you must enable that variant by using the Material.EnableKeyword function.

When you use Material.EnableKeyword at runtime, the editor will compile the respective shader variant on the fly, so you will see the correct shading displayed.
When you build a standalone player however, Unity will only compile the shaders that are referenced by objects in your scene. So in case you don't already have a material either in your Scene or in the Resources folder that uses a particular shader variant, your code will call for a shader that hasn't been compiled and you'll see incorrect shading.

GLTFSceneImporter.cs makes heavy use of Material.EnableKeyword, since based on the data in the GLTF file, different features like normal maps, emmission, or alpha modes must be turned on or off in the shader at runtime. The nature of building an importer that can load *any* GLTF file that is unknown at compile-time means that we cannot anticipate which shader features will be used, and therefore must enable the variants manually.

This can be done in one of 2 ways:
1. Through the use of the ShaderVariantCollection (and add the keywords you need)
2. By adding a material to the Assets/Resources folder (and add textures to the texture fields, change Colors to be anything other than black, and change floats to anything other than 0 -you don't need to use the material on anything because as long as it's in the Resources folder Unity will presume it's going to be needed)

Both methods will cause the compiler to deliver the necessary shader variants for the standalone player.


Links:
------
https://docs.unity3d.com/Manual/MaterialsAccessingViaScript.html
https://docs.unity3d.com/ScriptReference/ShaderVariantCollection.html
https://docs.unity3d.com/ScriptReference/Material.EnableKeyword.html
http://answers.unity3d.com/questions/970290/emission-at-run-time-works-in-editor-but-not-in-bu.html