2
$\begingroup$

I'm new to Blender and running against a deadline!

How can I create dynamically with nodes a texture made up by a video with pixels cut out using a checkerboard pattern. When I say cut out I mean leaving pixels with transparency there and other pixels with RGB colors from the video.

Just RGB colors have to became checkerboard-cut, no the transparent background. The video is RGBA.

I cannot use too much subsurf and particles because my GPU is dead now :( , and the only combination of video texture over plane + subsurf + explode + particles that suits my needs depends on this node-generated texture that improves critically the performance.

This is my goal:

video + plane + subsurf + explode + checkerboarded cut out

$\endgroup$
2
  • 1
    $\begingroup$ Not really sure what you want.. Something like this? pasteall.org/pic/79024 $\endgroup$
    – gandalf3
    Commented Oct 27, 2014 at 5:42
  • $\begingroup$ Yup that it is. How can I make it entirely using nodes? $\endgroup$ Commented Oct 27, 2014 at 5:46

1 Answer 1

2
$\begingroup$

Blender internal

One way is by using a node texture on top of the video texture to influence the alpha:

enter image description here

Note that the color input on the checker node has an alpha of 0 and the material has Mask alpha enabled.

Example .blend

Cycles

In cycles this can be done with a material setup like this:

enter image description here

$\endgroup$
5
  • $\begingroup$ Great answer! Thnx! Is there a way to preview in texture mode this effect? I'm using v2.70 with GSLS, and previewing even shadows with RGBA textures but this effect is not shown. Only when rendering. $\endgroup$ Commented Oct 27, 2014 at 6:22
  • $\begingroup$ I don't think any of the procedural textures are supported outside of rendered view. You can bake it to an image texture, but it sounds like this is what you were trying to avoid.. $\endgroup$
    – gandalf3
    Commented Oct 27, 2014 at 6:26
  • $\begingroup$ What if I use an external RGBA bitmap for the checkerboard? Still being procedural? $\endgroup$ Commented Oct 27, 2014 at 6:31
  • $\begingroup$ @Fallouturama Using an external image texture (even tiled) should work in openGL. $\endgroup$
    – gandalf3
    Commented Oct 27, 2014 at 6:35
  • $\begingroup$ All worked perfect for me. Day saved now :D Thnx! $\endgroup$ Commented Oct 27, 2014 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .