|
|
Re: shader on sky cube image
[Re: Kartoffel]
#439753
04/08/14 18:10
04/08/14 18:10
|
Joined: Mar 2011
Posts: 3,150 Budapest
sivan
OP
Expert
|
OP
Expert
Joined: Mar 2011
Posts: 3,150
Budapest
|
no. probably I did totally wrongly, just added a shader to mtl_sky containing a VS only (wanted to add a tint to the lower part of the sky cube). thus I change my question to: how to do it? 
Last edited by sivan; 04/08/14 18:14.
|
|
|
Re: shader on sky cube image
[Re: sivan]
#439759
04/08/14 19:25
04/08/14 19:25
|
Joined: Jun 2009
Posts: 2,210 Bavaria, Germany
Kartoffel
Expert
|
Expert
Joined: Jun 2009
Posts: 2,210
Bavaria, Germany
|
I have no idea how the default sky shader works (i think it's hardcoded)
...so sorry, I cant help you with this.
POTATO-MAN saves the day! - Random
|
|
|
Re: shader on sky cube image
[Re: rojart]
#439776
04/09/14 10:16
04/09/14 10:16
|
Joined: Mar 2011
Posts: 3,150 Budapest
sivan
OP
Expert
|
OP
Expert
Joined: Mar 2011
Posts: 3,150
Budapest
|
thanks! (I browsed it but had not found) edit: great, matTexture and Out.Tex = mul(float3(InTex.x,InTex.y,1),matTexture).xy; are what I needed 
Last edited by sivan; 04/09/14 10:46.
|
|
|
|