Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Flipping images/shaders
#1
I'd like to know if its possible to flip an image .. this is what I've got:
[Image: 4d811553d781e-example2.png]

and this is what i want to do:

[Image: 4d8115789a888-example1.png]

so then I need to flip the shader .. but I have no idea how Sad

(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#2
what do u mean with flipping?
should the shader do an animation?
Reply

#3
(03-16-2011, 21:08)Tomsen1410 Wrote: what do u mean with flipping?
should the shader do an animation?

I mean flip the shader horizontal .. look @ the pictures .. I used 2 shaders, a 4th place button from wager matches and a fade out shader which has a nice round shape on one side, BUT if I want to place that shader on both sides of the round button I need to flip the fade out shader ..
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#4
Maybe if you use a negative width/height

SetShader( "asdsa", -15, -15 );
[Image: MaEIQ.png]
Reply

#5
(03-16-2011, 21:38)Pozzuh Wrote: Maybe if you use a negative width/height

SetShader( "asdsa", -15, -15 );

That is smart, but not working Sad
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#6
My best suggestion is to search for the flipped shader if there is one.
Otherwise, I doubt it's possible.
YouTube 1:Azumikkel- Modding
YouTube 2:DerpShark- Gaming Entertainment
Website:Jensby.me
Contact: im[at]jensby.me
Reply

#7
LOL it is a 3D rotation, it isnt possible
[Image: wyipjqo9qon7rc2v1lo.jpg]
Reply

#8
Well, the engine supports drawing shaders flipped (fixed mirror, no dynamic 3D rotation).

Also the minimap is a shader that is being rotated, so it IS possible somehow (can't you check how the minimap is drawn somewhere?)
Reply

#9
(03-17-2011, 12:36)AZUMIKKEL Wrote: My best suggestion is to search for the flipped shader if there is one.
Otherwise, I doubt it's possible.

that sucks.. coz there is none
(03-17-2011, 13:33)SuperNovaAO Wrote: Well, the engine supports drawing shaders flipped (fixed mirror, no dynamic 3D rotation).

Also the minimap is a shader that is being rotated, so it IS possible somehow (can't you check how the minimap is drawn somewhere?)

rotating a shader isnt the problem .. how can I mirror it horizontally?
(08-10-2011, 12:58)Pozzuh Wrote:
Se7en Wrote:Stealed, from cod4 mod ...
look who's talking

[Release] Old School Mod v2.2
[Release] Scroll menu

Reply

#10
(03-17-2011, 13:33)SuperNovaAO Wrote: Well, the engine supports drawing shaders flipped (fixed mirror, no dynamic 3D rotation).

Also the minimap is a shader that is being rotated, so it IS possible somehow (can't you check how the minimap is drawn somewhere?)

hmm. and where could u look for the code of the minimap?
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [Release] Names/Images of Zombie DLC weapons, maps, and gamemodes. JariZ 13 11,286 01-28-2013, 15:33
Last Post: JariZ
  Some images do not work with SetShader xplosiff 8 5,073 01-05-2013, 07:19
Last Post: mw2killer
Sad [Request] How to destroy Shaders islamsaab 4 3,967 12-03-2012, 13:33
Last Post: islamsaab
  [Request] Does anyone have a set of MW3 map images JariZ 0 1,535 01-03-2012, 15:22
Last Post: JariZ
  Help Titles as shaders Lemon 2 2,715 08-17-2011, 14:03
Last Post: Lemon
  [Release] Some usefull shaders Yamato 11 19,164 08-14-2011, 17:25
Last Post: Yamato
  [Tutorial] Making your own custom shaders Lemon 21 12,744 07-31-2011, 15:56
Last Post: Lemon
  Help Custom Shaders Lemon 1 2,341 07-01-2011, 09:48
Last Post: d0h!
  [Request] Add custom shaders? iAegle 4 3,433 06-27-2011, 22:39
Last Post: iAegle
  Shaders N' Shit 4FunPlayin 6 4,086 05-31-2011, 17:54
Last Post: Pozzuh

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum Powered By MyBB, Theme by © 2002-2024 Melroy van den Berg.