Griffs Kraits / stingray.fragment shader - SOLVED

Discussion and information relevant to creating special missions, new ships, skins etc.

Moderators: winston, another_commander

Post Reply
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

Griffs Kraits / stingray.fragment shader - SOLVED

Post by Lestradae »

I am searching for either "Griff's Kraits" oxp or the shader termed "stingray.fragment".

If someone could point me into the right direction, I'd be pleased.
Last edited by Lestradae on Tue Apr 28, 2009 9:47 pm, edited 1 time in total.
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

the griff krait* is here
http://wiki.alioth.net/index.php/Griff_Krait
but that shader isn't part of it, what oxp is it missing from? i could take a look at it to see if the griff_krait shader would work with the oxp with a small bit of rename-ification


*although there's another griff krait in the 'ruining the classics' thread
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Hi Griff,

it's from the stingray oxp. It got updated and I integrated the updated version instead of the old one into OSE (future RS) and noticed that a shader file was missing.

I have now attempted to replace the "stingray.fragment" shader with the core-inbuilt "oolite-default-shader.fragment" by renaming the former in the shipdata plist to the latter and hope that this is going to work out?!?

Could there be a problem with that (using another default shader)?

8)

L
User avatar
Griff
Oolite 2 Art Director
Oolite 2 Art Director
Posts: 2479
Joined: Fri Jul 14, 2006 12:29 pm
Location: Probably hugging his Air Fryer

Post by Griff »

from a quick look at shaders part of the shipdata.plist in the oxp and the texture maps it looks like the missing fragment shader should be using the alpha channel to add a glow map to the ship, i'll ammend one of the griff_krait shaders to do that and i'll post up for you to add to the oxp - having said that, the alpha channel seems to be in the wrong place in the texture map, it doesn't seem to match up with the areas you expect to be glowing (such as the cockpit window) so it might look a bit odd
edit: it's my eyes that are faulty, the alpha channel placement was fine
Last edited by Griff on Wed Apr 29, 2009 8:51 am, edited 1 time in total.
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Yeah, please do!

Thanks for that :D

L
User avatar
CaptKev
---- E L I T E ----
---- E L I T E ----
Posts: 519
Joined: Fri Jan 26, 2007 3:21 pm
Location: Shropshire, UK

Post by CaptKev »

Sorry I've only just seen this! Lastradae you can download the shader from here
Download Fighter HUD, Stingray and System Redux from the EliteWiki
User avatar
Lestradae
---- E L I T E ----
---- E L I T E ----
Posts: 3095
Joined: Tue Apr 17, 2007 10:30 pm
Location: Vienna, Austria

..

Post by Lestradae »

Thanks very much CaptKev, now your originally intended shader has been included into the OSE Stingray version(s) also.

8)

L
Post Reply