Star Trek Game Quick Screens
So may i have been watching too much Star Trek or something.
but i wanted to start a new project based on the next generation
i have been looking up all the info i can over of memory-alpha.org and finding 3d assets over on the Google 3d Warehouse .
more info to come on this one as soon as i have more done. im having some trouble with the normals at the moment and looking at the shader code to stop it from culling the back face while keeping the toon effect and lighting
but this is confusing me
when i use the above shader it makes every thing look whited out .
give me a few days looking at this and i will have it fixed.
but i wanted to start a new project based on the next generation
i have been looking up all the info i can over of memory-alpha.org and finding 3d assets over on the Google 3d Warehouse .
more info to come on this one as soon as i have more done. im having some trouble with the normals at the moment and looking at the shader code to stop it from culling the back face while keeping the toon effect and lighting
but this is confusing me
- Properties {
- _MainTex ("Base (RGB)", 2D) = "white" {}
- //_BumpMap ("Bump (RGB) Illumin (A)", 2D) = "bump" {}
- }
- SubShader {
- //UsePass "Self-Illumin/VertexLit/BASE"
- //UsePass "Bumped Diffuse/PPL"
- // Ambient pass
- Pass {
- Name "BASE"
- Tags {"LightMode" = "PixelOrNone"}
- constantColor (.5,.5,.5)
- combine constant lerp (texture) previous
- }
- constantColor [_Color]
- Combine texture * previous DOUBLE, texture*constant
- }
- }
- // Vertex lights
- Pass {
- Name "BASE"
- Tags {"LightMode" = "Vertex"}
- Material {
- Diffuse [_Color]
- Emission [_PPLAmbient]
- Shininess [_Shininess]
- Specular [_SpecColor]
- }
- SeparateSpecular On
- Lighting On
- Cull Off
- constantColor (.5,.5,.5)
- combine constant lerp (texture) previous
- }
- Combine texture * previous DOUBLE, texture*primary
- }
- }
- }
- FallBack "Diffuse", 1
- }
when i use the above shader it makes every thing look whited out .
give me a few days looking at this and i will have it fixed.
Comments
Post a Comment