Search Issue Tracker

Duplicate

Votes

0

Found in

4.3.1f1

Issue ID

587055

Regression

No

_MainTex_TexelSize is getting overwritten with an incorrect value, every time you re-save the shader, if you use a WebCamTexture

Shaders

-

_MainTex_TexelSize is getting overwritten with an incorrect value, every time you re-save the shader, if you use a WebCamTexture.

To reproduce:
1. Open the attached project
2. Run the scene
3. Adjust the _AspectMode on the emojiMat material (see that's working properly)
4. Edit CustomEmojiShaderGLSL (add a comment or something to cause a recompilation)
5. Notice that adjusting the _AspectMode does not work anymore

  1. This is a duplicate of issue #580757

    WebCam and Movie Textures always have Texel Size = 1

Add comment

Log in to post comment