Comments (7)
I am no shader expert by any mean, but I encountered this, as I far as I understand the texcoord1 is the texture of the lightmap that will be sent to the shader along with its normal texture in the case of having lightmap enabled
The problem is while texcoordis that texcoord1 is not defined in the appdata_t struct in the file "VertexLitConfigurable.cginc" so when trying to access it while having baked GI enabled it results in that error, when I added the following lines to the file after the definition of texcoord. it worked fine
struct appdata_t
{
float4 vertex : POSITION;
#if _USEMAINTEX_ON || _USEEMISSIONTEX_ON
float2 texcoord : TEXCOORD0;
#endif
#ifndef LIGHTMAP_OFF
float2 texcoord1 : TEXCOORD1;
#endif
float3 normal : NORMAL;
};
Again I am no shader expert, and this may cause bugs I am not aware of
from mixedrealitytoolkit-unity.
@teichgraf thanks Rene for filing this. Do you have a proposal to fix this? Would you like to try to fix this?
from mixedrealitytoolkit-unity.
Is this being worked on or does it still make sense to investigate a fix proposal?
from mixedrealitytoolkit-unity.
@teichgraf do you have a proposed fix for this? Would you like to fix this?
from mixedrealitytoolkit-unity.
@teichgraf, there was some shader updates recently. Has those updates resolved this issue?
@ignavus Would you be willing to submit a PR with those fixes you've detailed?
from mixedrealitytoolkit-unity.
@dbastienMS did your recent updates fix this?
from mixedrealitytoolkit-unity.
New shaders have fixed this issue.
from mixedrealitytoolkit-unity.
Related Issues (20)
- RegisteredServiceProvider HOT 1
- Object Instantiated inside GridObjectCollection of ScrollingObjectCollection with opposite rotation HOT 1
- Screen cant move with my head HOT 1
- Sample Scene Issues HOT 2
- Apply settings MRTK gives error about menu in mixed reality/project/apply HOT 5
- Pointers disappear when the scale of a gameObject with a "NearInteractionTouchableUnityUI" is zero HOT 4
- Tracking Lost Service is not behaving correctly HOT 5
- Object Manipulator with XR Socket Interactor HOT 2
- Controllers, Hands and Passthrough not working on MKRT2 when using OpenXR on Quest HOT 2
- Extended Delay in Launching Hololens Application HOT 1
- Unable to get MRTK Toolbox HOT 1
- Interactive Ability between Python Script and Unity HOT 1
- Lighting Scene is not taking effect in Scene system HOT 1
- Eye Tracking not working when enabled HOT 1
- Vertical FOV drop makes CameraFOVChecker.cs result incorrect HOT 1
- How to access Events "OnToggled" and "OnUntoggled" of a PressableButton? HOT 1
- PressableButton creates glow only for left hand HOT 1
- The self-built app deployment was successful, but it failed to run on the HoloLens 2. HOT 1
- mrtk3 bug HOT 2
- Mixed Reality Feature Tool crash when click start HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mixedrealitytoolkit-unity.