PBR Materials Fail to Load/Render in 3dsMax (v4.5 SDK)

SDK supports Prepar3D’s philosophy of an open development architecture and encourages third parties to bring new innovations with improved add-ons and training content.
Post Reply
DavideP3D
Posts: 2
Joined: Thu Apr 11, 2019 10:41 am

PBR Materials Fail to Load/Render in 3dsMax (v4.5 SDK)

Post by DavideP3D »

HI,
i just updated the SDK to the new 4.5 version but i can't show the material in the viewport!
If i use the standard i have no errors.
Also when i open the old pbr project(4.4 sdk) i get an Dirext x shader problem of albedo texture.
I can't press the button, it's locked.
It's just 3DS max, if i export the model all looks good!

help pls.
User avatar
Rob McCarthy
Lockheed Martin
Posts: 3703
Joined: Wed Aug 24, 2011 1:37 pm

Re: P3D 4.5 SDK NOT SHOWING MATERIAL IN VIEWPORT!

Post by Rob McCarthy »

Hello,

Thanks for the report. We'll look into this in more detail and get back to you.

Regards,
Rob McCarthy
Rob McCarthy
Prepar3D® Core Lead
Clifton Crane
Lockheed Martin
Posts: 1207
Joined: Tue Sep 25, 2012 2:34 pm

Re: PBR Materials Fail to Load/Render in 3dsMax (v4.5 SDK)

Post by Clifton Crane »

Hi DavideP3D,

The issue is that the PBR shader's file path was saved out with the scene. With the update to v4.5 the SDK path has been changed as well as the shader's location. As a work around you can add "External File" directories to 3dsMax which should allow the shaders to be found:

1. In 3dsMax, open the following menu: Customize > Configure User Paths
2. In the External Files tab, click Add
3. Add the path to the PBR shader for the currently installed SDK (see example below)

Example SDK Shader Directory:
%%%PROGRAMFILES%%%\Lockheed Martin\Prepar3D v4 SDK 4.5.x.xxxxx\Modeling\3ds Max\bin\MaxHLSL

The next time the scene is loaded, the correct shader should be found.

Hope this helps.
Clifton Crane
Prepar3D® Software Engineer Sr.
DavideP3D
Posts: 2
Joined: Thu Apr 11, 2019 10:41 am

Re: PBR Materials Fail to Load/Render in 3dsMax (v4.5 SDK)

Post by DavideP3D »

Thank you! It works.
Post Reply