Jump to content

Material causing Crash, don't know why


L B
 Share

Recommended Posts

I created 2 new shaders that crash when loaded in the editor:

 

Loading model "c:/program files/le2.3/resources/palms/vegetation_palms_2.gmf"...

Loading mesh "c:/program files/le2.3/resources/palms/vegetation_palms_2.gmf"...

Loading material "c:/program files/le2.3/resources/palms/palmwood4df.mat"...

Loading texture "c:/program files/le2.3/resources/palms/palmwood4df.dds"...

Loading texture "c:/program files/le2.3/resources/palms/palmwood4df_n.dds"...

Loading texture "c:/program files/le2.3/resources/palms/palmwood4df_h.dds"...

Loading shader "zip::c:/program files/le2.3/shaders.pak//mesh/mesh_diffuse_bumpmap_pom.vert", "zip::c:/program files/le2.3/shaders.pak//mesh/mesh_diffuse_bumpmap_pom.frag"...

 

 

Here are these shaders:

mesh_diffuse_bumpmap_pom.vert

#define LW_DIFFUSE texture0
#define LW_BUMPMAP texture1
#define LW_PARALLAXMAP texture2

Include "mesh.vert"

 

 

mesh_diffuse_bumpmap_pom.frag

#define LW_DIFFUSE texture0
#define LW_BUMPMAP texture1
#define LW_PARALLAXMAP texture2
#define LW_POMMAP

Include "mesh.frag"

 

 

Any idea?

Link to comment
Share on other sites

You don't need to pass in a parallax map I don't think? Doesn't it use a heightmap in the alpha of the diffuse?

52t__nvidia.png nVidia 530M cpu.gif Intel Core i7 - 2.3Ghz 114229_30245_16_hardware_memory_ram_icon.png 8GB DDR3 RAM Windows7_Start.gif Windows 7 Ultimate (64x)

-----

IconVisualStudio16.png Visual Studio 2010 Ultimate google-Chrome.png Google Chrome PhotoshopLinkIndicator.png Creative Suite 5 icon28.gif FL Studio 10 MicrosoftOfficeLive.png Office 15

-----

csharp.png Expert cpp.png Professional lua_icon.png Expert BMX Programmer

-----

i-windows-live-messenger-2009.pngskype-icon16.pngaim_online.pnggmail.pngicon_48x48_prism-facebook.pngtunein-web.pngyahoo.giftwitter16.png

Link to comment
Share on other sites

You don't need to pass in a parallax map I don't think? Doesn't it use a heightmap in the alpha of the diffuse?

 

I didn't know that. Could I find this material information somewhere?

It's actually just because I got my Dexsoft palms, and I'd like to use all the textures I can. :)

  • Downvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...