Sign in to follow this  

How to get shader information into the .x file??

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

Hey I'm wondering how to get some shader information into .x file?? Is there some tools or some plugins for 3dsMax ?? I remember there is a template called Effect in the .x file , but I never generate it by some tools , I want to use shader in my code , but I don't know how to get the right file format!!! And by the way , there is another question which confuses me for a long time, I want to use .dds file as my texture format , but the panda exporter don't support it which means if you want to use .dds as your texture , you have to generate txt file not binary file , and change it by hand . But I want to use both binary .x file and dds file .Is there some way to solve it ??? I appreciate your help!!!!

Share this post


Link to post
Share on other sites
I know that in 3dsmax you can test your .fxs in the viewport by assigning a DirectX Shader material to your object and loading the fx. Look at the docs for details.

Panda exports any image file format(including DDS). Its just you select the Copy Texture Map radio button at the Textures & .fx Files tab.

Share this post


Link to post
Share on other sites
Quote:
Original post by CodeBoyCjy
does max5 support DirectX shader??or some higher version


Yes. ISTR the "DirectX 9 Shader Material" was added around 3DS Max version 4 or 5 so should be available either by default or as a download from their website.

Alternatively there are things like: http://developer.nvidia.com/object/IO_3dsmaxCgFXPlugin.html

Share this post


Link to post
Share on other sites
I have installed 3ds max7.0

But I found there is little shader supporting in the direct3D shader material.
It just supports light map and bump metal map . just the two kinds of shader.
What confuses me most is that I don't know how to export it rightly?(I use panda exporter )

why are there only two kinds of shader supported?? Can I load Shaders script from existing .fx file(such as file generate from rendermonkey) .

I appreciate your help!!!

Share this post


Link to post
Share on other sites

This topic is 3865 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.

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

Sign in to follow this