L B Posted December 29, 2009 Posted December 29, 2009 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? Quote
TylerH Posted January 2, 2010 Posted January 2, 2010 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? Quote nVidia 530M Intel Core i7 - 2.3Ghz 8GB DDR3 RAM Windows 7 Ultimate (64x)----- Visual Studio 2010 Ultimate Google Chrome Creative Suite 5 FL Studio 10 Office 15 ----- Expert Professional Expert BMX Programmer -----
L B Posted January 4, 2010 Author Posted January 4, 2010 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. 1 Quote
Niosop Posted January 4, 2010 Posted January 4, 2010 I didn't know that. Could I find this material information somewhere? The shaders themselves are the best source of documentation for them. Quote Windows 7 x64 - Q6700 @ 2.66GHz - 4GB RAM - 8800 GTX ZBrush - Blender
Recommended Posts
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.