Shouldnt it be like thissch:
Moderators: winston, another_commander
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Ahh. Well, “switching off” a shader would leave you with a heap of white polygons flying about. :-)
E-mail: [email protected]
- Arexack_Heretic
- Dangerous Subversive Element
- Posts: 1876
- Joined: Tue Jun 07, 2005 7:32 pm
- Location: [%H] = Earth surface, Lattitude 52°10'58.19"N, longtitude 4°30'0.25"E.
- Contact:
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
There are one or two shaders per material. (Each texture name in a DAT file now defines a material, of which shader-based materials are one type, as outlined elsewhere. Each object can have up to 7 materials at the moment.) These come in two types: vertex shaders and fragment shaders (a fragment being essentially an output pixel). You can’t have more than one of each per material.
E-mail: [email protected]