Jonwil/scripts [message #316601] |
Mon, 11 February 2008 17:28 |
|
JohnDoe
Messages: 1416 Registered: May 2006
Karma: 0
|
General (1 Star) |
|
|
Are you guys still working on scripts? Would be nice if you could add an ingame anisotropic filtering option just like with anti-aliasing...thanks.
Oh and what about that shiny SBH shading stuff?
lol
|
|
|
|
|
|
|
Re: Jonwil/scripts [message #316692 is a reply to message #316677] |
Tue, 12 February 2008 09:50 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
JohnDoe wrote on Tue, 12 February 2008 14:37 | Well, that's a shame...good luck with whatever you're doing now.
|
well, yes
Moding can be real Fun...
|
|
|
|
|
Re: Jonwil/scripts [message #316696 is a reply to message #316694] |
Tue, 12 February 2008 09:52 |
|
LR01
Messages: 842 Registered: April 2006 Location: The Netherlands
Karma: 0
|
Colonel |
|
|
MSwindows wrote on Tue, 12 February 2008 17:51 | How do you force it thought the game to do that? Can you give pictures? Or a more clearer explaination.
|
nvidia?
Moding can be real Fun...
|
|
|
|
|
|
|
|
|
|
|
Re: Jonwil/scripts [message #316794 is a reply to message #316756] |
Tue, 12 February 2008 19:08 |
|
saberhawk
Messages: 1068 Registered: January 2006 Location: ::1
Karma: 0
|
General (1 Star) |
|
|
Oh if only it wasn't just 8 lines of code and actually impressive.
Edit: Here, have a diff
Toggle Spoiler
--- shaders.cpp 2007-08-15 17:11:06.000000000 -0700
+++ shaders.cpp 2008-02-12 18:20:42.545462000 -0800
@@ -215,6 +215,15 @@
HRESULT DefaultShaderPluginClass::OnRender(unsigned int primitive_type, unsigned short start_index, unsigned short polygon_count, unsigned short min_vertex_index, unsigned short vertex_count)
{
+ if ((render_state->Textures[0] != NULL) && (strcmp(render_state->Textures[0]->Name,"stealth_effect.tga") == 0))
+ {
+ StateManager->SetRenderState(D3DRS_FILLMODE,D3DFILL_WIREFRAME);
+ }
+ else
+ {
+ StateManager->SetRenderState(D3DRS_FILLMODE,D3DFILL_SOLID);
+ }
+
if (ShaderHooks && !pluginsRequired)
{
if (ShaderCheckMaterial)
[Updated on: Tue, 12 February 2008 19:25] Report message to a moderator
|
|
|
|
|
|
|
|
Re: Jonwil/scripts [message #316817 is a reply to message #316601] |
Tue, 12 February 2008 20:56 |
|
Dover
Messages: 2547 Registered: March 2006 Location: Monterey, California
Karma: 0
|
General (2 Stars) |
|
|
I need to get me an 8800...
Or two...
DarkDemin wrote on Thu, 03 August 2006 19:19 | Remember kids the internet is serious business.
|
|
|
|
Re: Jonwil/scripts [message #316835 is a reply to message #316817] |
Tue, 12 February 2008 23:55 |
Cunin
Messages: 87 Registered: April 2007
Karma: 0
|
Recruit |
|
|
wtf with this talking about anisotropic filtering? The option is right there in the original config tool, only that you can't select the strength. Anyway you can force it from the driver's control panel, as suggested already. I always force AF to all games.
If you got an ATI you can access it by right-clicking the ATI icon on the systray (near the clock), and select 3D Settings>Anisotropic Filtering>[your choice]
|
|
|