UnityPlugin-AVProVideo icon indicating copy to clipboard operation
UnityPlugin-AVProVideo copied to clipboard

[3.0.0] Unable scale the Sphere Mesh with OES shader

Open DevJamaly opened this issue 1 year ago • 11 comments

Describe the issue When I apply the OES shader to the sphere mesh. The sphere mesh scales down in scale and translates off to the side. This happens for both OES and OES transparent shader.

Your Setup (please complete the following information):

  • Unity version: 2021.3.30
  • AVPro Video version (number and edition (trial/core/ultra/enterprise)): 3.0.0 (Ultra)
  • Operating system version: Android 12
  • Device model: Quest 2
  • Video specs (resolution, frame-rate, codec, file size): (4096x2048) , (25fps) , (.mp4), (12.8MB)

To Reproduce

  1. Change texture format in Android Platform settings to "Y Cb Cr 420_OES"
  2. Apply OES material to sphere and scale it to 10 in all dimensions
  3. Use "Apply to Mesh" to play video onto sphere mesh
  4. Build to device. The video sphere is offset and scaled down.

DevJamaly avatar Apr 28 '24 17:04 DevJamaly