Skyboxes + Shadows on Animap

Having a problem with a shader or texture
Post Reply
User avatar
VanilleOD
Posts: 38
Joined: Wed Sep 07, 2011 12:30 am
Location: Germany
Contact:

Skyboxes + Shadows on Animap

Post by VanilleOD »

First: Is it possible to create 2 Skyboxes
for example:
___________
|_________|
|_|_____|_|
|_|_____|_|
|_|_____|_|
___________

I want to make a half transparent Skybox (Clouds) and a Skybox in the back (Heaven/Horizon)

Second:
What I need to add to a Animap shader to enable shadows on it?

I tried it with:

Code: Select all

textures/alinosperch/jumppad1
{
   {
      map $lightmap
   }
   {
      animMap 10 <textures>
      rgbGen wave inverseSawtooth 0 1 0 10
      
   }   
   {
      animMap 10 <textures>
      rgbGen wave sawtooth 0 1 0 10
      blendFunc GL_ONE GL_ONE
   }
}


and with:

Code: Select all

textures/alinosperch/jumppad1
{
   {
      map $lightmap
      animMap 10 <textures>
      rgbGen wave inverseSawtooth 0 1 0 10
      
   }   
   {
      map $lightmap
      animMap 10 <textures>
      rgbGen wave sawtooth 0 1 0 10
      blendFunc GL_ONE GL_ONE
   }
}


but it failed on both :lol:

User avatar
johnnyenglish
Space cake
Posts: 898
Joined: Wed Aug 17, 2011 9:23 am
Location: Nottingham, England

Re: Skyboxes + Shadows on Animap

Post by johnnyenglish »

Have a look at the sky in kingdom, that has a separate cloud layer.

User avatar
v3nd3tta
Posts: 82
Joined: Thu Aug 18, 2011 12:49 pm
Location: Germany
Contact:

Re: Skyboxes + Shadows on Animap

Post by v3nd3tta »

have you looked at nearbox and farbox? just remembered it by now, dunno if it still works in urt.

Post Reply