2024-11-24, 17:20 *
Welcome, Guest. Please login or register.

Login with username, password and session length
 
Pages: [1]
  Print  
Author Topic: My first attempt by using phong shading (q3 normalmaps)  (Read 7604 times)
0 Members and 1 Guest are viewing this topic.
ReBoOt
Mean ol Swede
 
Team Member
Elite
****
Posts: 1294

WWW
« on: 2003-02-21, 21:29 »

Test by using phong shading (light greatly improves on textures) it's a feature only supported by q3map2.
just some screens on tab's textures in action with bump maps.

http://medlem.spray.se/reboots/quake3/maps...phong/bumps.htm

the result can be much better than this im not that good on making shaders...
« Last Edit: 2003-02-21, 21:30 by ReBoOt » Logged
Devlar
 
Makron
********
Posts: 398

WWW
« Reply #1 on: 2003-02-22, 01:26 »

Are the Bricks on the walls shaded also?
Logged
ReBoOt
Mean ol Swede
 
Team Member
Elite
****
Posts: 1294

WWW
« Reply #2 on: 2003-02-22, 22:47 »

Yeah but the brick bump map sucks.. still the light looks quite good at them.
Logged
Devlar
 
Makron
********
Posts: 398

WWW
« Reply #3 on: 2003-02-23, 01:55 »

They appear to be the best of them all, can you post the shader?
Logged
ReBoOt
Mean ol Swede
 
Team Member
Elite
****
Posts: 1294

WWW
« Reply #4 on: 2003-02-23, 22:40 »

Sure but it's a test shader, most likley there are several better ways to do this.

Code:
textures/rebump_test/wolf_grey_01 
 {
 qer_editorimage textures/rebump_test/wolf_grey_01.jpg
q3map_lightmapsamplesize 3
q3map_normalimage textures/rebump_test/wolf_grey_01_bump.jpg
 {
 map $lightmap
 }
 {
 map textures/rebump_test/wolf_grey_01.jpg
 blendFunc GL_DST_COLOR GL_ZERO
 }
}
Logged
dev/null
 
Banned
Vadrigar
**********
Posts: 607

« Reply #5 on: 2003-02-24, 16:25 »

Wow, that's hella-pretty Slipgate - Smile
Logged
Pages: [1]
  Print  
 
Jump to: