POV-Ray : Newsgroups : povray.advanced-users : textures, uv_mapping, and global normals : Re: textures, uv_mapping, and global normals Server Time
20 Apr 2024 12:15:17 EDT (-0400)
  Re: textures, uv_mapping, and global normals  
From: Thomas de Groot
Date: 26 Aug 2020 03:02:26
Message: <5f460902$1@news.povray.org>
Op 26/08/2020 om 01:26 schreef Bald Eagle:
> I have a few related and inter-related questions.
> 
> Can I take a regular texture and layer a uv-mapped texture on top of it?
> vice-versa?

Layered textures are tricky. In principle, I think you can (both ways). 
Remember that the top layer, uv-mapped or not, needs some transparency 
of course. As an aside, you may perhaps want to look up the use of the 
pigment_pattern {} as an alternative.

> 
> Can I take uv_mapped objects and have a global normal be distributed across
> them?   Right now I'm getting per-object normals as though each object had its
> own origin - it seems the normal gets uv_mapped as well.

ooh... I don't know for sure. This is not a case of simple layering as 
each object seems already to have its own texture. A global texture over 
them would probably either cancel out the underlying textures, or - more 
probably, be ignored.

> 
> I'm automatically determining textures, so I can't just lump them all into a
> union and layer a clear texture with a normal over it all... because I have
> different normals I want to use.

I have no ready solution for this
  --
Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.