当前位置:网站首页>Some problems encountered in unity steamvr
Some problems encountered in unity steamvr
2022-06-30 04:57:00 【LintonL】
I've been doing steamVR The development of some projects , Encountered a lot of problems , Some basic , Can see demo Or it can be solved under Baidu , So I won't talk , Some of them have some strange questions , When I first encountered these problems , Really confused , No clue at all , Where do you start . But after a long trial , Look for possible causes , Eliminate conjecture , Narrow the scope of , Finally, we found the reason . Let's start by writing a few of the things we've encountered now , There will be , Add again .
1. Model in VR It will be gray in the middle , The color is not normal
stay VR in , Sometimes I find out , The scene will be gray , Color, illumination, etc. are not normal , That could be Color Space The settings don't match your material ,Color Space stay Palyer Setting/Other Setting/Rendering/Color Space, It has two options :Gamma and Linear,VR There will be recommended settings when importing , If you accept this Color Space Automatically change to Linear,Linear Is to use multiple maps ( Main map , The light map , Normal mapping, etc , Don't know much about , Listen to art ) To present the material effect , relatively speaking , This material , stay VR The effect will be much better , But many models are not in this mode , At this moment in VR The rendered model will be grayed out , Change it to Gamma that will do . But if there is enough time , When the art technology meets the standard , Or choose Linear, It works better .
2.spotLight Normal when running in the editor , There is no flashlight glow when exporting
It was changed in the editor yesterday bug, There is nothing wrong with running the project , The export runs with the server on the platform , Find out SpotLight The flashlight glow is gone , You can only see the light of a wall , Sometimes there is light everywhere ..... I thought about it all day , A day's test , After eliminating the impossibilities, we finally found the problem , In fact, this problem should not belong to VR, Should not belong to software ...... stay Light One of the components Render Mode attribute , Render properties , Generally, the default is Auto Automatic selection , also Important and NotImportant Two options , The following figure shows the official website API Explanation given in the document 
Automation is based on the performance of the machine you are running , The software automatically selects ,Important It's pixel by pixel ,NotImportant It's not pixel by pixel , That is, render per vertex . Light up by the top , To put it simply, first calculate the lighting color for each vertex , Then the pixel color is linearly interpolated in the area covered by the polygon through the vertex , In some cases, there will be obvious edges and corners .. In reality, the computation amount of vertex by vertex illumination is often less than that of pixel by pixel illumination . But pixel by pixel light is more subtle , It also looks more comfortable . I'm not very proficient in the details , If you are interested, you can check the information . We need a clear aperture like a flashlight , Of course, you have to choose the fine one Important, Directly force pixel by pixel lighting calculation . This is what I said before , It is not the cause of the software problem , choose Auto, Not necessarily wrong , If your computer is good enough, it should default to pixel by pixel ( Speculative , Never tried. , After all, the company's computers are really bad ).
These are just some opinions of my novice , Something written incorrectly or badly , I hope you guys don't spray , Also welcome to help me point out . thank you . If there are new problems found in the work, update them .
边栏推荐
- What is multimodal interaction?
- [control] multi agent system summary. 5. system consolidation.
- Preorder traversal of Li Kou 589:n fork tree
- Connect to the database and run node JS running database shows that the database is missing
- Connect to the database and run node JS running database shows that the database is missing
- A must see cruise experience in Bangkok: visit the Mekong River and enjoy the scenery on both sides of the river
- Winter vacation parent-child tour, these new york attractions are not only fun but also knowledge
- 力扣周赛293题解
- [UAV] gyroscope data analysis, taking Victor intelligent jy901b as an example
- What to do when the alicloud SSL certificate expires
猜你喜欢

力扣2049:统计最高分的节点数目

Force buckle 349 Intersection of two arrays

harbor api 2.0查询

The golden deer, a scenic spot in London -- a sailing museum that tells vivid sailing stories

Connect to the database and run node JS running database shows that the database is missing

Harbor API 2.0 query

Singapore must visit these scenic spots during the Spring Festival

為什麼win10開熱點後電腦沒有網絡?

Unreal 4 learning notes - set player birth point

A collection of errors encountered in machine learning with unity
随机推荐
Unity a* road finding force planning
On mask culling of unity
JPA复合主键使用
UE4 method of embedding web pages
Unreal 4 unavigationsystemv1 compilation error
Marvel fan welfare: Singapore Madame Tussauds Wax Museum Marvel 4D experience Museum
力扣704. 二分查找
Software digital signature certificate
力扣349. 两个数组的交集
Qos(Quality of Service)
Collective system
Meet in Bangkok for a romantic trip on Valentine's Day
Connect to the database and run node JS running database shows that the database is missing
[control] multi agent system summary. 4. control agreement.
Unity is associated with vs. there is a compiler problem when opening
The most comprehensive summary notes of redis foundation + advanced project in history
Beanfactory creation process
One interview question and one joint index every day
Is the Flink connector JDBC open source? Where can I download it
Autowired注解警告的解决办法