Jump to content
  • Advertisement
Sign in to follow this  
abc9804

OpenGL What is a HILO texture?

This topic is 3946 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I readed a paper,and I want to implement it.but I cannot understand something. It refers a HILO texture object,using to implement the DotProductDepthReplace fragment operation(OpenGL extensions). I want to study the OpenGL extensions programming,how to start? What is the HILO texture?

Share this post


Link to post
Share on other sites
Advertisement
Quote:
Original post by abc9804
I readed a paper,and I want to implement it.but I cannot understand something.
It refers a HILO texture object,using to implement the DotProductDepthReplace fragment operation(OpenGL extensions).

This is completely obsolete technology back from the GeForce 3/4 era. It won't work on modern graphics cards anymore (well, it's still does on NV, but it's legacy and will be dropped soon. It has never, and will never work on ATI or Intel).

All this old stuff (HILO textures, texture shaders, DotProductDepthReplace, etc) has been completely replaced by GLSL fragment shaders nowadays.

Share this post


Link to post
Share on other sites
Thanks for your reply.

But what is the GLSL fragment shaders?

Can it implement the operation the depth shift?

Share this post


Link to post
Share on other sites
GLSL Fragment shader is simply the pixel shader.

go to http://www.lighthouse3d.com/opengl/glsl/ for few simple tutorials and I'm pretty sure neon helium (http://nehe.gamedev.net) has some too.

Share this post


Link to post
Share on other sites
Quote:
Original post by abc9804
Can it implement the operation the depth shift?
Yes, there's a depth output register (gl_FragDepth)... but please, resist using it. It will disable early-z optimizations resulting in decreased performance: changing Z is something the pipe really doesn't like.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!