POV-Ray : Newsgroups : povray.binaries.images : INVITATION: Join the Mississippi Paddle-Wheel Steamer! : Re: INVITATION: Join the Mississippi Paddle-Wheel Steamer! Server Time
18 May 2024 14:47:04 EDT (-0400)
  Re: INVITATION: Join the Mississippi Paddle-Wheel Steamer!  
From: Bald Eagle
Date: 12 Apr 2018 13:05:00
Message: <web.5acf91072c27e340c437ac910@news.povray.org>
> Is there any way to create a macro with a double texture?

Yes.

> #macro MyTexture(SomeParameter)
> #declare MyTexture =
>  texture { Texture1 }
>  texture { Texture2 }
> #end


The macro is just a "wrapper" when you invoke a macro, it's just a directive to
tell the POV-Ray parser "and now use the following bit of code [using the
supplied parameters, if any]:"


Post a reply to this message

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