Shiney Glass Ideas

Started by Sereja, June 22, 2012, 06:58:42 AM

Previous topic - Next topic
Holy frackin' crumpets sereja!!
That is really cool!

I like the second versions better, they look less like droideka's shield :P

Any chance you'll be adding new shiney windows to your maps in future?

Edit: And.. A new page.

Quote from: -RepublicCommando- on February 21, 2013, 09:40:32 AM
Holy frackin' crumpets sereja!!
That is really cool!

I like the second versions better, they look less like droideka's shield :P

Any chance you'll be adding new shiney windows to your maps in future?

Edit: And.. A new page.
Thank's! :)
Sure, since I working at unfinished "Naboo: Ottoh Gungah" map, by the way, I was planing to make discovery, and invent glass. Now, it's done, and map will be maded in perfect condition, as it should be. Also, I am planing, to release my old maps, with "Special Edition". Custom sound, and new inventions, will be included...
A new page? ...:confused:
Beauty is, the way to perfection.

Glory to Ukraine!  :mf:

February 21, 2013, 10:47:17 AM #17 Last Edit: February 21, 2013, 01:03:45 PM by UNIT 33
Shinny windows.... Hey I know a place with lots of windows

...One day :'(

Quote from: Sereja on February 21, 2013, 03:29:17 AM

Here the glass hex code itself:
You have to put this after ATRB:
04 00 00 00 C0 04
and for glow glass:
04 00 00 00 C1 04
Sad issue: not works with bump.

This is most certainly useful thanks. I wonder have you looked at what settings the ice caverns uses from Harbor?

Quote from: Phobos on February 21, 2013, 11:02:10 AM
This is most certainly useful thanks. I wonder have you looked at what settings the ice caverns uses from Harbor?
Sure, but there is just a simple codes, with specularity, scroll, and transparent. They are not mixed, and each one of them, belonged to different textures. Still, most interesting of them - blur code:
Quote04 00 00 00 00 16
I am use it, for jedi ghosts, for my Dagobah map, but, with little upgrade:
04 00 00 00 09 16 - "09", make it to glow.
Beauty is, the way to perfection.

Glory to Ukraine!  :mf:

Nice, I want the rodian to glow 'neon green' Ill try that code

February 22, 2013, 06:29:36 AM #21 Last Edit: February 23, 2013, 03:11:31 PM by Sereja
Sereja's Glass Tutorial.

Well, after some researches, and testings, I made a new discovery!
I am exploring a code, that tripider try to "fix", and I, figure out how it works, and actualy it's real purpose.
The code, named "Additive Soft Edged Transparence" looks like this:
04 00 00 00 40 00
My "Glass Code", look's like this:
04 00 00 00 C0 04
But I figure out, that "40" and "C0", actualy, do the same, so, my "Glass Code", actualy may works in many variations:
04 00 00 00 40 04
04 00 00 00 C0 04
04 00 00 00 D0 04
04 00 00 00 E0 04
04 00 00 00 F0 04

So, the "Glass", it's actualy an "Additive Soft Edged Transparence" + "Specularity".
And "Glow Glass", it's an "Additive Soft Edged Transparence" + "Glow"  + "Specularity".

But for understanding "Glass", HEX editor codes, is far not enough...
Why, if you try just mix "Transparence" & "Specularity", you surely got some "buggy" model? The answer is simple: those effects, both, using an alpha channel, and if using the same texture, with single alpha channel, start fighting for it, because each effect needed separated parameters and they can not be shared.
So, that what "Additive Soft Edged Transparence" do: it is stopping use an alpha channel, and left it, for "Specularity"!
So, try guess, how it regulate it's own transparence parameters?...
That's right! By tga RGB color palette! It work's simple:
0, 0, 0 = totaly transparent glass.
255, 255, 255 = totaly non transparent glass.
[spoiler][/spoiler]
But if it use tga RGB "pic", instead alpha channel, now, how it  may got it's own colors?
Remember: it's an Additive Transparence, so, it used added colors, from your .SKY ambient parameters, like this:
AmbientColor(40, 36, 76);
So, now everything on right places:
alpha channel for specularity;
tga RGB palette for transparence;
SKY Ambient Color for colors;

Happy moddyng with glass!

-Edit:
Funny Speculation:
Behold!
Bump, mixed with Specularity (Glass), for SWBF1!
[spoiler][/spoiler]

[spoiler]Well, unfortunately, it is realy impossible to be done, and I am cheating a little bit :P.[/spoiler]
Beauty is, the way to perfection.

Glory to Ukraine!  :mf: