Jump to content

Geometric Shaders


Recommended Posts

Posted

More time doesn't mean more space :P It would take more time because it needs to read from the normal map texture, but the size of your BSP would be the same as if you didn't use bumpmapping.

Langerd likes this
Posted

More time doesn't mean more space :P It would take more time because it needs to read from the normal map texture, but the size of your BSP would be the same as if you didn't use bumpmapping.

Good to know that :3

 

Now i will check this method on my map as well ^^

Posted

Working or release-ready? :P There's a working version, but I wouldn't consider it ready for release.

What is the text I have to put in the shader file for normals?

Posted

What is the text I have to put in the shader file for normals?

 

textures/amace_leviathan/wall3
{
     q3map_normalimage textures/amace_leviathan/wall3_normalmap
     qer_editorimage textures/amace_leviathan/wall3
     q3map_lightmapsamplesize 1x1
{
     map $lightmap
     rgbGen identity
}
{
     map textures/amace_leviathan/wall3
     blendFunc GL_DST_COLOR GL_ZERO
}
}

example shader

q3map_normalimage "path of texture"

Posted

 

textures/amace_leviathan/wall3
{
     q3map_normalimage textures/amace_leviathan/wall3_normalmap
     qer_editorimage textures/amace_leviathan/wall3
     q3map_lightmapsamplesize 1x1
{
     map $lightmap
     rgbGen identity
}
{
     map textures/amace_leviathan/wall3
     blendFunc GL_DST_COLOR GL_ZERO
}
}
example shader

q3map_normalimage "path of texture"

 

not in rend2

Posted

Then what is it in rend2?

I think my Murasama model includes a rend2 .mtr file, go check that out - I'm on mobile right now and can't check it for you

Seven likes this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...