-
I am having a problem with RenderMaterial code after I upgraded to v3. This code was working properly in 2.x but after I upgraded to v3 (I believe it it was 3.1x at that time - currently using 3.5.1), it started exhibiting this problem. Any guidance on how to fix this problem would be appreciated. The issue is that when I turn on the markers, they are drawn correctly (top image). As soon as I move the cursor (screen is refreshed), the markers change their image as shown as in bottom image. I implemented these as markers, using code from WorldDecorationMarkers sandbox (https://www.itwinjs.org/sandboxes/ThomasDicarlo/World%20Decoration%20Markers), my requirement is identical to the example. Code snippet is below - addMarker() is called by iTwin when marker is to be drawn.
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
You need to specify the ownership of your texture. |
Beta Was this translation helpful? Give feedback.
You need to specify the ownership of your texture.