Jump to content
  • Advertisement
Sign in to follow this  
ChristopherRacine

2d Pixel Shader 1.4

This topic is 2791 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

Hello,

I am currently using a 2d engine that only supports pixel shader 1.4 compiled. (dx8)
I am a noob in shaders and I would like to know if there is a tool that can allow me do make those and compile them. I would like to make a shader that can distord anything drawn below it (water effect). Is this possible ?
Thank you, sorry for my noobiness.

Share this post


Link to post
Share on other sites
Advertisement
Strictly speaking anything in the pixel shader 1.x range is actually DX8-level; all DX9-compliant stuff should support 2.0 and even 3.0 in some cases. If the technology is actually using DX9, it probably won't care.

That being said you should still be able to use fxc and all that as normal, you just need to modify a few of the arguments you send to fxc so it doesn't complain.

EDIT: Specifically, see 'Compiling with the Legacy Compiler' option.

Share this post


Link to post
Share on other sites

Strictly speaking anything in the pixel shader 1.x range is actually DX8-level; all DX9-compliant stuff should support 2.0 and even 3.0 in some cases. If the technology is actually using DX9, it probably won't care.

That being said you should still be able to use fxc and all that as normal, you just need to modify a few of the arguments you send to fxc so it doesn't complain.

EDIT: Specifically, see 'Compiling with the Legacy Compiler' option.


Thank you. Dx9 was a typo, I meant dx8.1. So with a hlsl editor I would be able to compile it with fxc ? I will try it.

Share this post


Link to post
Share on other sites
Also, as to your specific use-case, I'm pretty sure PS 1.4 will let you do that. My only experience is on Xbox 1, which was very close to that. As long as you have one level of indirect texturing support, you should be fine.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!