The Seraphim - A custom Ship OXP from start to finish.
Moderators: winston, another_commander
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
So it turns out built-in shader specular mapping doesn’t work in 1.73.4, but is fixed for 1.74. Well, I can’t remember everything.
It works if you drop in the trunk version of the shader, although it’s possible that might break other things.
It works if you drop in the trunk version of the shader, although it’s possible that might break other things.
E-mail: [email protected]
- Griff
- Oolite 2 Art Director
- Posts: 2483
- Joined: Fri Jul 14, 2006 12:29 pm
- Location: Probably hugging his Air Fryer
updated to test this out:
i used these settings (2nd pic has the specular set to (1.0, 0.0, 0.0, 1.0): so it's a bright red colour
things seem to break though if you set the specular colour vec4 with any of the numbers greater than 1.0
i used these settings (2nd pic has the specular set to (1.0, 0.0, 0.0, 1.0): so it's a bright red colour
Code: Select all
materials =
{
"Griff_cobra_mk3_cleaner_mainhull_diffuse_spec.png" = {
shininess = 4;
specular = (1.0, 1.0, 1.0, 1.0);
normal_map = "Griff_cobra_mk3_cleaner_mainhull_normal.png";
emission_map = "Griff_cobra_mk3_emission.png";
};
};
- JensAyton
- Grand Admiral Emeritus
- Posts: 6657
- Joined: Sat Apr 02, 2005 2:43 pm
- Location: Sweden
- Contact:
Note that problems with specular_map won’t necessarily translate to problems with unmapped specularity and vice versa. Unmapped specularity is used by default for ships without custom shaders, so I’d notice if it wasn’t working. :-)
E-mail: [email protected]
- Griff
- Oolite 2 Art Director
- Posts: 2483
- Joined: Fri Jul 14, 2006 12:29 pm
- Location: Probably hugging his Air Fryer
oops, tested again with a specmap
Code: Select all
materials =
{
"Griff_cobra_mk3_cleaner_mainhull_diffuse_spec.png" = {
shininess = 4;
specular = (1.0, 1.0, 1.0, 1.0);
normal_map = "Griff_cobra_mk3_cleaner_mainhull_normal.png";
specular_map = "spec_maptest.png";
emission_map = "Griff_cobra_mk3_emission.png";
};
};
That is why there is the super png plugin.. Free... & open sourceAhruman wrote:Odd; in my experience it will save separate alpha channels but not load them that way.Scarecrow wrote:Well, allright, Obviously it has an alpha channel, what I meant was, the program I'm using (*coughphotoshopcough*) doesn't allow me to save it with an alpha channel. It uses the tranparency in the RGB channels instead.
for Mac and Win...
http://www.fnordware.com/superpng/
Cheers Frame...
Bounty Scanner
Number 935
Number 935
- Griff
- Oolite 2 Art Director
- Posts: 2483
- Joined: Fri Jul 14, 2006 12:29 pm
- Location: Probably hugging his Air Fryer
Blitz games article on cgtalk, are you in any of the photos Scarecrow?
http://features.cgsociety.org/story_cus ... ry_id=5685
The bits of artwork look amazing!
http://features.cgsociety.org/story_cus ... ry_id=5685
The bits of artwork look amazing!
-
- Dangerous
- Posts: 117
- Joined: Mon Feb 25, 2008 4:49 am
- Location: Woking - UK
- Contact:
I just saw your Dev Art page. I liked your Scout Cruiser ship... that make a great ship for OOlite.
'It's big and round and needs a big round sounding word! G-R-O-U-N-D! That's it Ground! I wonder if it will be friends with me...'
Website www.richarddaborn.co.uk lots of sci-fi art.
Website www.richarddaborn.co.uk lots of sci-fi art.