Jump to content

Geometric Shaders


Recommended Posts

Posted
  On 6/25/2016 at 12:54 PM, Xycaleth said:

Bumpmapping on maps doesn't take up any space.

It doesnt ? It took more time on one map to work for me D:

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
  On 6/25/2016 at 1:40 PM, Xycaleth said:

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
  On 6/25/2016 at 8:08 AM, AshuraDX said:

Not for models, atleast outside of rend2

Is there a working rend2 release yet?

Posted
  On 6/25/2016 at 5:50 PM, Xycaleth said:

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
  On 6/25/2016 at 7:32 PM, Seven said:

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
  On 6/26/2016 at 7:08 AM, Asgarath83 said:

 

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
  On 6/26/2016 at 11:30 PM, Seven said:

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...