brocklebjorn wrote:Hey, thanks for the reply!
Still working on it:
Here's my new shader code:
Shader "Amplify Texture/Double"{
Properties {
_Color ("Color Tint", Color) = (1,1,1,1)
_MainTex ("Base (RGB) Trans. (Alpha)", 2D) = "white"
_VTPackingTransform ( "VT (auto)", Vector) = ( 0.00390625, -0.00390625, 0.9941406, -0.9980469 )
}
Category {
ZWrite On
Alphatest Greater 0.5
Cull Off
SubShader {
Pass {
Lighting Off
SetTexture [_MainTex]{
constantColor [_Color]
Combine texture * constant, texture * constant
}
}
}
}
}
When I add anything else from the *example* shader, my objects pink-out. Like I mentioned before, I can't use any of the Amplify Textures (with or without the double code), because they drop my textures out.
Can you help me re-write my shader to work in Amplify, please?
Hi bjorn,
You seem to be using outdated information to port your shader.
Please download this conversion pack and have a look at the sample.
Cheers