Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (M_D), 1,430 guests, and 3 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
sharp textures #432628
11/09/13 22:42
11/09/13 22:42
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
I just wanted to ask, how to disable blurring for level block textures.. To make the scene look oldschool.
Something like NOFLITER, but for level blocks (using it with level_ent, leads to crap shadows.. but textures are still blurred).


Greets


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: sharp textures [Re: 3run] #432639
11/10/13 10:33
11/10/13 10:33
Joined: Jul 2004
Posts: 785
Serbia
Iglarion Offline
User
Iglarion  Offline
User

Joined: Jul 2004
Posts: 785
Serbia
Did you try set d3d_mipmapping to zero?


IGRAVISION Page - www.igravision.com
RPG project - The Battle For Forgol 92.75%
Re: sharp textures [Re: Iglarion] #432640
11/10/13 10:45
11/10/13 10:45
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Originally Posted By: Iglarion
Did you try set d3d_mipmapping to zero?
Sure man! I did, but there are no results.. Take a look here:

But as you can see, on the distance, textures are sharper than before, but this isn't what I'm looking for..
At close distance, it looks like they are still blurred.

Greets


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: sharp textures [Re: 3run] #432643
11/10/13 12:27
11/10/13 12:27
Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Quad Offline
Senior Expert
Quad  Offline
Senior Expert

Joined: Oct 2007
Posts: 5,210
İstanbul, Turkey
Mipmapping stops blurring of the parts marked with green:


For the parts you marked with red, either use higher resolution textures or use them in smaller scales.


3333333333
Re: sharp textures [Re: Quad] #432644
11/10/13 12:48
11/10/13 12:48
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Quad@ so there is no way, to use let's say texture with 64x64 resolution, but without any blurring?


Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: sharp textures [Re: 3run] #432647
11/10/13 13:56
11/10/13 13:56
Joined: May 2008
Posts: 2,113
NRW/Germany
alibaba Offline
Expert
alibaba  Offline
Expert

Joined: May 2008
Posts: 2,113
NRW/Germany
I think what 3run means is to have textures like in minecraft


Professional Edition
A8.47.1
--------------------
http://www.yueklet.de
Re: sharp textures [Re: alibaba] #432648
11/10/13 14:25
11/10/13 14:25
Joined: May 2009
Posts: 5,370
Caucasus
3run Offline OP
Senior Expert
3run  Offline OP
Senior Expert

Joined: May 2009
Posts: 5,370
Caucasus
Ok.. as I see, my explanation wasn't clear enough.. Here are some screens:
Quote:
This is how it looks now:

This is how I want it to looks like:
But this is a sprite, and I could use NOFILTER to disable the blurring. What about level block textures?

Edit: yes, as alibaba said, I want my textures looks like in minecraft grin

Greets

Last edited by 3run; 11/10/13 14:26. Reason: added

Looking for free stuff?? Take a look here: http://badcom.at.ua
Support me on: https://boosty.to/3rung
Re: sharp textures [Re: 3run] #432655
11/10/13 16:43
11/10/13 16:43
Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
Kiel (Germany)
What you need is to use a material for the blocks that disables the filtering. It's possible to maintain the default block rendering using those fixed function effects and has been posted on this forum some time/ years ago (but I don't know about that stuff, try the forum search) or write a shader that disables all filtering modes in the texture sampler.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: sharp textures [Re: Superku] #432720
11/13/13 09:08
11/13/13 09:08
Joined: Nov 2005
Posts: 112
M
miez Offline
Member
miez  Offline
Member
M

Joined: Nov 2005
Posts: 112
Here, try this:

Code:
MATERIAL* mat_old = {
	effect ="
	texture entSkin1;
	texture entSkin2;
	technique old_school
	{
		pass p0 {
			Texture[0] = <entSkin1>;   
			MinFilter[0] = NONE;
			MagFilter[0] = NONE;
			MipFilter[0] = NONE;
			Texture[1] = <entSkin2>;   
			MinFilter[1] = NONE;
			MagFilter[1] = NONE;
			MipFilter[1] = NONE;
			TexCoordIndex[0] = 0;
			ColorArg1[0] = Texture;
			ColorArg2[0] = Diffuse;
			ColorOp[0] = Modulate2x;			
		}
	}
	
	";	
}

//...
//camera.material = mat_old;



This should do it for levelblocks.


Moderated by  HeelX, Spirit 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1