unity-texture-tool icon indicating copy to clipboard operation
unity-texture-tool copied to clipboard

Strange artifacts/issues offscreen rendering of shaders.

Open ddutchie opened this issue 10 years ago • 3 comments

Hello Vatara.

I'm trying to get a runtime-tilable-texture camera up and running on an iphone using some crafty tricks and scripts i have gathered over the last two months.

As I've mentioned I am working on a mobile texture tool, but thus far I have been running conversions on the cpu. (I will be reworking the project to combine your shader based approach with what I have so far.)

Early Alpha here https://www.youtube.com/watch?v=399sRcZLG3E

Anyway. Issues and artefacts appear when I'm trying to generate my tileable texture.

it works like so.

screen shot 2015-05-06 at 5 08 04 pm

There is a GUI camera There is a rendertexture camera, set to aspect of 1:1 (square) There is a webcamtexture.

screen shot 2015-05-06 at 5 10 23 pm

All I'm getting from my render texture is this glitchymess, image

Which does its joB, but It does not render an image on my phone.

image

Let me know if you would like to take a look

ddutchie [ at } googlemail { dot ] com

ddutchie avatar May 06 '15 15:05 ddutchie

I meant to post this image last. image

To show that it does try to read the right pixels

ddutchie avatar May 06 '15 15:05 ddutchie

image

ddutchie avatar May 06 '15 15:05 ddutchie

Here is what I came up with yesterday after exploring your code.

MobileTextureTool

ddutchie avatar May 07 '15 12:05 ddutchie