Gamestudio Links
Zorro Links
Newest Posts
Data from CSV not parsed correctly
by EternallyCurious. 04/18/24 10:45
StartWeek not working as it should
by Zheka. 04/18/24 10:11
folder management functions
by VoroneTZ. 04/17/24 06:52
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (1 invisible), 672 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
EternallyCurious, howardR, 11honza11, ccorrea, sakolin
19047 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Pixel Shader Issue #481166
08/08/20 20:41
08/08/20 20:41
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
I am using the Oldschool Pixel Shader for my current project. I want to make a 64x64 pixel window, but allow it to be bigger on screen.

So I set the window to 640 x 640, then apply the Oldschool Pixel Shader at 64 x 64.

It works, and each "pixel" is 10 x 10 actual pixels. however it seems to start halfway through a "pixel," so the first "pixel" in each column or row is only 5 x 5 or 5 x 10 pixels.

[Linked Image]

Is there any way to remove this offset so the full pixel begins in the corner?

Re: Pixel Shader Issue [Re: Dooley] #481167
08/09/20 10:35
08/09/20 10:35
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
That happens on scaled up panels. If that is the case there is nothing you can do but change the drawing system.

I would render the level over a 64x64 bitmap and scale it up by a post process view.

Re: Pixel Shader Issue [Re: txesmi] #481168
08/09/20 13:19
08/09/20 13:19
Joined: May 2005
Posts: 868
Chicago, IL
Dooley Offline OP
User
Dooley  Offline OP
User

Joined: May 2005
Posts: 868
Chicago, IL
That's a better idea. I ended up making it 650 x 650 and putting a 5 pixel wide frame around it. The game jam allowed for having frames, so that was an easy remedy laugh

[Linked Image]

Last edited by Dooley; 08/09/20 13:20.
Re: Pixel Shader Issue [Re: Dooley] #481336
08/28/20 11:46
08/28/20 11:46
Joined: Aug 2020
Posts: 3
R
Raveeshyui Offline
Guest
Raveeshyui  Offline
Guest
R

Joined: Aug 2020
Posts: 3
Thanks for the info!


Moderated by  Blink, Hummel, Superku 

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