Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Graphics.Blit() in Flash

Discussion in 'Editor & General Support' started by hausmaus, Apr 29, 2012.

  1. hausmaus

    hausmaus

    Joined:
    Dec 9, 2011
    Posts:
    105
    We recently started using Graphics.Blit() with some utility shaders to perform runtime heightmap->normalmap generation and very fast compositing. Unfortunately, this technique seems not to work in the Flash plugin at the moment. Is this something that might be resolved, or should we expect to develop without Graphics.Blit()? I think we can reproduce the behavior well enough with planes and an ortho camera, assuming RenderTextures work properly.

    On a somewhat related note, are Cg conditionals expected to be supported in the Flash exporter?

    Thanks,
    -abm