Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-29 Thread Marek Sieradzki
My shader DLL wasn't loaded by vbsp.exe so my shader used fallback: Wireframe_DX6. I manually enabled lighting (bumped and standard) on brushes with it and it works. ___ To unsubscribe, edit your list preferences, or view the list archives, please

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-28 Thread Tobias Kammersgaard
Kammersgaardtobias.kammersga...@gmail.com wrote: From: Tobias Kammersgaardtobias.kammersga...@gmail.com Subject: [hlcoders] Problems with shader samples in the SDK? To: Discussion of Half-Life Programming hlcoders@list.valvesoftware.com Received: Wednesday, 27 October, 2010, 7:01 AM Hey

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-28 Thread Tobias Kammersgaard
Studios http://www.nigredostudios.com --- On Wed, 27/10/10, Tobias Kammersgaardtobias.kammersga...@gmail.com wrote: From: Tobias Kammersgaardtobias.kammersga...@gmail.com Subject: [hlcoders] Problems with shader samples in the SDK? To: Discussion of Half-Life Programming hlcoders

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-28 Thread Marek Sieradzki
I have my replacement for LightmappedGeneric (with parallax mapping) and it works fine BUT mapper told me that after recompiling map with references (in .vmf) to new shader brushes using it use mat_fullbright (totally white lightmap or some other problem). From what I remember vrad compiles

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-28 Thread Marek Sieradzki
From bspflags.h: #define SURF_NOLIGHT0x0400 // Don't calculate light #define SURF_BUMPLIGHT 0x0800 // calculate three lightmaps for the surface for bumpmapping vbsp/textures.cpp - FindMiptex checks if material should have lightmaps and saves that as flag. vrad won't generate lightmaps for

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-28 Thread Tony omega Sergi
if I remember correctly, this is something that's been around for ages, since you cannot modify the underlying code. what you need to do is make your materials use normal lightmappedgeneric before you run vrad. then you can switch htem back to your custom shader after it finishes. I used to have

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-27 Thread Tom Edwards
Kammersgaardtobias.kammersga...@gmail.com Subject: [hlcoders] Problems with shader samples in the SDK? To: Discussion of Half-Life Programminghlcoders@list.valvesoftware.com Received: Wednesday, 27 October, 2010, 7:01 AM Hey list! I just compiled the samples shaders provided in the Source SDK (2007

[hlcoders] Problems with shader samples in the SDK?

2010-10-26 Thread Tobias Kammersgaard
Hey list! I just compiled the samples shaders provided in the Source SDK (2007). However the textures I tried it on is way bright. http://dl.dropbox.com/u/3659338/MissingInformation/sdk_shader_samples0007.jpg Anyone got any ideas? Thanks - ScarT ___

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-26 Thread Jonas 'Sortie' Termansen
Are lightmaps actually being built for the material/shader in VRAD? ___ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-26 Thread Tobias Kammersgaard
That shouldn't be needed, but yeah I've recompiled the map with the new shader for the materials used. The floor and ceiling uses the standard lightmappedgeneric shader, and the walls use the one Valve provides in the SDK (unmodified). - ScarT On 26 October 2010 22:11, Jonas 'Sortie' Termansen

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-26 Thread Adam amckern McKern
Buildcubemaps - always fixed strange bugs like this. Owner Nigredo Studios http://www.nigredostudios.com --- On Wed, 27/10/10, Tobias Kammersgaard tobias.kammersga...@gmail.com wrote: From: Tobias Kammersgaard tobias.kammersga...@gmail.com Subject: [hlcoders] Problems with shader

Re: [hlcoders] Problems with shader samples in the SDK?

2010-10-26 Thread Tobias Kammersgaard
fixed strange bugs like this. Owner Nigredo Studios http://www.nigredostudios.com --- On Wed, 27/10/10, Tobias Kammersgaard tobias.kammersga...@gmail.com wrote: From: Tobias Kammersgaard tobias.kammersga...@gmail.com Subject: [hlcoders] Problems with shader samples in the SDK