Notices

Go Back   FileFront Forums > The Games! > Star Wars: Jedi Knight Series > Jedi Knight III: Jedi Academy > SW:JK3 Modding, Mapping and Editing

Remember Me?

SW:JK3 Modding, Mapping and Editing
Want more info about a Mod? Making a Mod? Looking for Modders, Mappers, Skinners, etc.? This is your Spot!

Reply
 
LinkBack Thread Tools Display Modes
Old October 22nd, 2006   #1
I R Scary Eyeball
 
The One and Only's Avatar
 
Join Date: January 28th, 2004
Status: Executing Order 69
3,277 posts, 243 likes.
Rep Power: 28
The One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these parts
Default Shader Issue

Hmm, you know the shader which makes textures "glow"? Like the one used by the jawa eyes. I've created a set of textures for my skin, all in jpg format, and created a shader, but for some reason it won't work. Now, I think what I'm doing is right, but somewhere along the line it is going wrong. arms.jpg is the basic texture, armsg.jpg is the "glow" texture.

models/players/fire02/arms.jpg
{
{
map models/players/fire02/arms.jpg
blendFunc GL_ONE GL_ZERO
rgbGen lightingDiffuse
}
{
map models/players/fire02/arms.jpg
blendFunc GL_SRC_ALPHA GL_ONE
detail
glow
alphaGen lightingSpecular
}
{
map models/players/fire02/armsg.jpg
blendFunc GL_ONE GL_ONE
glow
rgbGen identity
}
}
The One and Only is offline   Reply With Quote
Old October 22nd, 2006   #2
>You
First Sergeant 3
 
Bluestormtrooper's Avatar
 
Join Date: March 13th, 2005
Location: Chicago, IL
Status: Dead
1,725 posts, 0 likes.
Rep Power: 24
Bluestormtrooper should make some friends
Send a message via ICQ to Bluestormtrooper Send a message via AIM to Bluestormtrooper Send a message via Yahoo to Bluestormtrooper Send a message via Skype™ to Bluestormtrooper
Default Re: Shader Issue

If you want to save yourself the trouble you can go download the Admin Skin on jk3files and use that shader.
Bluestormtrooper is offline   Reply With Quote
Old October 22nd, 2006   #3
I R Scary Eyeball
 
The One and Only's Avatar
 
Join Date: January 28th, 2004
Status: Executing Order 69
3,277 posts, 243 likes.
Rep Power: 28
The One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these parts
Default Re: Shader Issue

Hmm... still nothing. I'm also putting a reflectivity shader onto the same part, might that have an effect?
The One and Only is offline   Reply With Quote
Old October 22nd, 2006   #4
[Insert User Title Here]
 
Inyri Forge's Avatar
 
Join Date: March 15th, 2005
Location: Chicago
Status: Debating whether or not to post.
16,452 posts, 517 likes.
Rep Power: 43
Inyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured One
Default Re: Shader Issue

Do you actually have dynamic glow turned on?


Inyri Forge is offline   Reply With Quote
Old October 22nd, 2006   #5
I R Scary Eyeball
 
The One and Only's Avatar
 
Join Date: January 28th, 2004
Status: Executing Order 69
3,277 posts, 243 likes.
Rep Power: 28
The One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these parts
Default Re: Shader Issue

Yes. But what I'm really after is just something to make the eyes (and details on the arms) stand out. For instance, put a jawa in a dark room and the eyes appear as though they are fully lit, that sort of thing.
The One and Only is offline   Reply With Quote
Old October 22nd, 2006   #6
[Insert User Title Here]
 
Inyri Forge's Avatar
 
Join Date: March 15th, 2005
Location: Chicago
Status: Debating whether or not to post.
16,452 posts, 517 likes.
Rep Power: 43
Inyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured OneInyri Forge - the Honoured One
Default Re: Shader Issue

There should be a blending option that has the texture unaffected by map lighting. I think it's probably in one of the Q3 shader tutorials.


Inyri Forge is offline   Reply With Quote
Old October 22nd, 2006   #7
The Force is my Guide
 
Jedi_Mediator's Avatar
 
Join Date: August 3rd, 2005
Status: Busy
270 posts, 0 likes.
Rep Power: 0
Jedi_Mediator is a n00b
Default Re: Shader Issue

remove the ".jpg" extensions from the shader line. For example, change "arms.jpg" to just "arms". The extensions are never in any of the shader files that come with the game, and it always works fine without the extensions, so try removing them from the image files' names.


To make a texture unaffected by map lighting, enter the line "q3_nolightmap" before the texture. So:

q3_nolightmap
{


I'm pretty sure that will work.

In the sunset of dissolution, everything is illuminated by the aura of nostalgia, even the guillotine. -- Milan Kundera

Last edited by Jedi_Mediator; October 22nd, 2006 at 01:50 PM.
Jedi_Mediator is offline   Reply With Quote
Old October 22nd, 2006   #8
I R Scary Eyeball
 
The One and Only's Avatar
 
Join Date: January 28th, 2004
Status: Executing Order 69
3,277 posts, 243 likes.
Rep Power: 28
The One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these partsThe One and Only has many friends around these parts
Default Re: Shader Issue

The problem is that I what the eyes to glow, but the eyes are on a texture with the rest of the face.
The One and Only is offline   Reply With Quote
Old October 22nd, 2006   #9
We want FF7-2/remake!
 
Szico VII's Avatar
 
Join Date: September 14th, 2003
Location: A
Status: Making a mod
1,774 posts, 69 likes.
Rep Power: 27
Szico VII has nothing to be ashamed ofSzico VII has nothing to be ashamed of
Send a message via AIM to Szico VII
Default Re: Shader Issue

ok. Firstly, its q3map_nolightmap, not q3_nolightmap.

Secondly, you shouldn't have 2 glow stages in the same shader if you can avoid it.

models/players/fire02/arms
{
{
map models/players/fire02/arms
blendFunc GL_ONE GL_ZERO
rgbGen lightingDiffuse
}
{
map models/players/fire02/arms
blendFunc GL_SRC_ALPHA GL_ONE
detail
alphaGen lightingSpecular
}
{
map models/players/fire02/armsg
blendFunc GL_ONE GL_ONE
glow
}
}

Szico VII is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
IOEF shader issue TiberiousKirk ST:EF Problems, Errors and Help 4 July 29th, 2008 01:40 PM
Shader issue SMoKE_89 SW:JK3 Modding, Mapping and Editing 3 August 21st, 2007 12:45 PM


All times are GMT -7.







   
 





This site is part of the Defy Media Gaming network

The best serving of video game culture, since 2001. Whether you're looking for news, reviews, walkthroughs, or the biggest collection of PC gaming files on the planet, Game Front has you covered. We also make no illusions about gaming: it's supposed to be fun. Browse gaming galleries, humor lists, and honest, short-form reporting. Game on!

FileFront Forums - Terms of Service - Top
Theme Selection
Copyright © 2002-2016 Game Front. All rights reserved. Powered by vBulletin®
Copyright ©2000 - 2016, vBulletin Solutions, Inc.
Forum Theme by Danny King (FileTrekker), Sheepeep & Graeme(rs)
RSS Feed Widget by FeedWind