Jump to content

clipping texture


neshke89
 Share

Recommended Posts

Is it possible to load bigger texture (then mesh) and then to clip it by mesh dimensions? Behaviour I'm trying to achieve is that I have a moving mesh and when i move mesh only on part of the texture actually is used as mesh texture.

Why am I doing this:
I need that more than four spot lighs have efect on different parts of one mesh. So idea is to create a smaller copy of big mesh which has slightly lower z position, so that all lights are not actually affecting mesh but smaller meshes instead. It works if there's no texture or texture is linear but with complex textures it easily seen that there are "help" meshes.

You can see difference here:
http://prntscr.com/6odo9e

http://prntscr.com/6odovh

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...