Page 1 of 1

Reflections ?

Posted: Thu Jun 10, 2010 8:00 pm
by Lozza
Can you add reflections of the world to stormtrooper models or something, can't you go into the tga option for stormtrooper.tga, and right REFLECTION - map - cheesecake, random code writing ?

Re: Reflections ?

Posted: Thu Jun 10, 2010 8:06 pm
by AQT
Imperial Modder wrote:Can you add reflections of the world to stormtrooper models or something
Yes, use a hex editor (http://www.gametoast.com/forums/viewtop ... 20#p279620).

Re: Reflections ?

Posted: Thu Jun 10, 2010 8:45 pm
by Lozza
AQT wrote:
Imperial Modder wrote:Can you add reflections of the world to stormtrooper models or something
Yes, use a hex editor (http://www.gametoast.com/forums/viewtop ... 20#p279620).
Ok.... I don't understand a single thing of what AceMastermind wrote, do I need to download hex edit or something, cause i used to have hex edit, but all I did when I put a model into it it just came up with a bunch of random symbols and stuff ?

Re: Reflections ?

Posted: Thu Jun 10, 2010 10:09 pm
by sim-al2
Hidden/Spoiler:
That's a hex editor for you. I actually thought it should be rows of two-digit number groups. Are you sure you didn't open it with notepad or something? But I never have actually done hex editing so I wouldn't be surprised if I'm wrong.
Edit: Dumb hidden. Yes I'm right with the hex number stuff but I just learned about the "other" stuff today...

Re: Reflections ?

Posted: Fri Jun 11, 2010 2:58 am
by DarthD.U.C.K.
alright, to clear some things up:
you can apply an "environmentmap" to models, thats a cubemap you can skin however you want (look into the naboo worldassets for examples), reflecting the actualy real-time envirnoment isnt possible
to apply the environmentmapshader, use repsharpshooters Meshtool, it can do that for you automatically.
if you would want to hexedit the shader on the model manually, its prety difficult when you dont have hex-editing knowledge because you have to insert another TEX (if i remember correctly)-slot in the model in order to reference the cubemap/environment texture

i hope i could help

Re: Reflections ?

Posted: Fri Jun 11, 2010 5:28 am
by Lozza
DarthD.U.C.K. wrote:alright, to clear some things up:
you can apply an "environmentmap" to models, thats a cubemap you can skin however you want (look into the naboo worldassets for examples), reflecting the actualy real-time envirnoment isnt possible
to apply the environmentmapshader, use repsharpshooters Meshtool, it can do that for you automatically.
if you would want to hexedit the shader on the model manually, its prety difficult when you dont have hex-editing knowledge because you have to insert another TEX (if i remember correctly)-slot in the model in order to reference the cubemap/environment texture

i hope i could help
Ok thanks Darthduck, is a cube map only visible by light, or is it just a retexture for that part of the model? Is battlefront 2 phonged?

Re: Reflections ?

Posted: Fri Jun 11, 2010 7:06 am
by DarthD.U.C.K.
battlefront uses the phong shader i think,yes

the cubemap is no real new texturprojection, depending on the vantage point of the player the "environment"(=cubemap) is being projected on the envmapped model(-part).
on naboo the fountainballs reflect the cubemap with a 100% opacity, on the rebelsnipers helmet however the opacity seems to be much lower